| MarkLogic XDBC.NET Library | |
IXdbcCommand.Invoke Method
Invokes an XQuery module and returns a sequence of results.
Parameters
- module
- The path to the module to be invoked on the server.
- database
- The name or id of a database to use as the context for invoking
the module. Default is null, which means use the Xdbc server's default database
- argNames
- An ordered array of XmlQualifiedName
objects representing the names of the arguments to the module. Null means no arguments.
Return Value
The resulting IXdbcResultSequence created
by invoking the command's module.
Exceptions
| Exception Type | Condition |
|---|
| XdbcException | If a database access error occurs |
See Also
IXdbcCommand Interface | MarkLogic.Xdbc Namespace