Tamino API for .NET

TaminoCommand.Query Method (TaminoQuery, Int32)

Perform specified query.

[Visual Basic]
Overloads Public Function Query( _
   ByVal xquery As TaminoQuery, _
   ByVal pageSize As Integer _
) As TaminoQueryResponse
[C#]
public TaminoQueryResponse Query(
   TaminoQuery xquery,
   int pageSize
);

Parameters

xquery
query to be performed
pageSize
number of result items per page

Return Value

query response

Remarks

pageSize specifies the number of result items to be returned on each page. A value of 0 specifies that all matching items should be returned as a single page. In general, a non-zero value results in a multi-page result set. This may not be true if the number of matching items is less than or equal to the specified page size.
Note that the xquery options will be altered to match the specified pageSize if necessary.

Exceptions

Exception TypeCondition
WebExceptionif there is a communication failure

See Also

TaminoCommand Class | TaminoCommand Members | SoftwareAG.Tamino.Api Namespace | TaminoCommand.Query Overload List