MarkLogic XDBC.NET Library

IXdbcCommand.ExecuteQuery Method 

Evaluate an XQuery query and return a sequence of results.

[Visual Basic]
Function ExecuteQuery( _
   ByVal xquery As String _
) As IXdbcResultSequence
[C#]
IXdbcResultSequence ExecuteQuery(
   string xquery
);

Parameters

xquery
An XQuery expression to be evaluated on the server.

Return Value

The resulting IXdbcResultSequence created by executing the command's query.

Exceptions

Exception TypeCondition
XdbcExceptionIf a database access error occurs

See Also

IXdbcCommand Interface | MarkLogic.Xdbc Namespace