Disconnects from the server. Normally there is no need to call this method so you should be sure to have a good reason to call it.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 1.6.0.4624

Syntax

C#
public virtual void Disconnect()
Visual Basic
Public Overridable Sub Disconnect
Visual C++
public:
virtual void Disconnect()

See Also