Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.MS_OXCMAPIHTTPAdapter.GetMatches C# (CSharp) Method

GetMatches() public method

This method is used by the client to get an Explicit Table, in which the rows are determined by the specified criteria.
public GetMatches ( GetMatchesRequestBody getMatchesRequestBody ) : GetMatchesResponseBody
getMatchesRequestBody GetMatchesRequestBody The GetMatches request type request body.
return GetMatchesResponseBody
        public GetMatchesResponseBody GetMatches(GetMatchesRequestBody getMatchesRequestBody)
        {
            CommonResponse commonResponse = this.SendAddressBookRequest(getMatchesRequestBody, RequestType.GetMatches);
            GetMatchesResponseBody getMatchesResponseBody = GetMatchesResponseBody.Parse(commonResponse.ResponseBodyRawData);
            this.VerifyGetMatchsResponseBody(getMatchesRequestBody, getMatchesResponseBody);

            if (getMatchesResponseBody.HasColumnsAndRows)
            {
                foreach (AddressBookPropertyRow row in getMatchesResponseBody.RowData)
                {
                    this.VerifyAddressBookPropertyRowStructure(row);
                }
            }

            return getMatchesResponseBody;
        }
MS_OXCMAPIHTTPAdapter