MarkLogic XCC/.Net Library |

# SimpleQueryRunner.Execute Method

Submit the given query string and return a ResultSequence object.

[Visual Basic]
Overridable Public Function Execute( _
ByVal query As String _
) As ResultSequence
[C#]
public virtual ResultSequence Execute(
string query
);

#### Parameters

query
  XQuery code as a String, to be evaluated by the server.

#### Return Value

An ResultSequence instance, possibly with size zero.

#### See Also

SimpleQueryRunner Class | Marklogic.Xcc.Examples Namespace