Microsoft.Protocols.TestSuites.MS_OXCMSG.TestSuiteBase.QueryRowsSuccess C# (CSharp) Method

QueryRowsSuccess() protected method

Query the rows of specific table.
protected QueryRowsSuccess ( uint objHandle ) : RopQueryRowsResponse
objHandle uint The handle of specific table.
return RopQueryRowsResponse
        protected RopQueryRowsResponse QueryRowsSuccess(uint objHandle)
        {
            RopQueryRowsRequest queryRowsRequest = new RopQueryRowsRequest()
            {
                RopId = (byte)RopId.RopQueryRows,
                LogonId = CommonLogonId,
                InputHandleIndex = CommonInputHandleIndex,
                QueryRowsFlags = (byte)QueryRowsFlags.Advance,
                ForwardRead = 0x01,
                RowCount = 0x1000
            };
            this.ResponseSOHs = this.MSOXCMSGAdapter.DoRopCall(queryRowsRequest, objHandle, ref this.response, ref this.rawData, GetPropertiesFlags.None);
            RopQueryRowsResponse queryRowsResponse = (RopQueryRowsResponse)this.response;
            Site.Assert.AreEqual<uint>(TestSuiteBase.Success, queryRowsResponse.ReturnValue, TestSuiteBase.ROPSucceedMsg);
            return queryRowsResponse;
        }