MarkLogic XDBC.NET Library

IXdbcCommand.Close Method 

Release this XQuery statement's database and XDBC resources immediately instead of waiting for this to be done by the runtime environment

[Visual Basic]
Sub Close()
[C#]
void Close();

Remarks

Calling this method frees up resources immediately and its use is strongly encouraged.

Exceptions

Exception TypeCondition
XdbcExceptionIf a database access error occurs

See Also

IXdbcCommand Interface | MarkLogic.Xdbc Namespace