MarkLogic XDBC.NET Library

IXdbcConnection.Close Method 

Releases a connection's database and XDBC resources immediately instead of waiting for this to be done by the garbage collector. Calling this method frees up resources immediately and its use is strongly encouraged.

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

Exceptions

Exception TypeCondition
XdbcExceptionIf a database access error occurs

See Also

IXdbcConnection Interface | MarkLogic.Xdbc Namespace