Table of Contents

Method Disconnect

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Disconnect()

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.

public virtual void Disconnect()