MarkLogic XCC/.Net Library |

# Session.SubmitRequest Method

Submit a Request to the contentbase and return the (possibly empty) ResultSequence.

[Visual Basic]
Function SubmitRequest( _
ByVal request As Request _
) As ResultSequence
[C#]
ResultSequence SubmitRequest(
Request request
);

#### Parameters

request
  A Request instance (either ModuleInvoke, ModuleSpawn or AdhocQuery) that specifies the query to be run, associated options and variables.

#### Return Value

A ResultSequence instance encapsulating the result of the query execution.

#### See Also

Session Interface | Marklogic.Xcc Namespace