MarkLogic XCC/.Net Library

Session.Close Method 

Shutdown and invalidate this Session and release any resources it may be holding. Any currently open streaming ResultSequence objects created from this Session will also be invalidated and closed.

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

See Also

Session Interface | Marklogic.Xcc Namespace