Microsoft.Protocols.TestSuites.MS_ASCMD.S07_GetItemEstimate.GetItemEstimateWithFilterType C# (CSharp) Method

GetItemEstimateWithFilterType() private method

Get estimate number of items in specified time window depends on FilterType in a collection.
private GetItemEstimateWithFilterType ( string collectionId, byte filterType ) : GetItemEstimateResponse
collectionId string Specifies collection id of the folder.
filterType byte Specifies time window for the objects sent from the server to the client.
return Microsoft.Protocols.TestSuites.Common.Response.GetItemEstimateResponse
        private GetItemEstimateResponse GetItemEstimateWithFilterType(string collectionId, byte filterType)
        {
            Request.Options option = new Request.Options
            {
                Items = new object[] { filterType },
                ItemsElementName = new Request.ItemsChoiceType1[] { Request.ItemsChoiceType1.FilterType }
            };

            return this.CMDAdapter.GetItemEstimate(TestSuiteBase.CreateGetItemEstimateRequest(this.LastSyncKey, collectionId, new Request.Options[] { option }));
        }
        #endregion