MongoServerReconnect Method |
Reconnects to the server. Normally there is no need to call this method. All connections
are closed and new connections will be opened as needed. Calling
this method frequently will result in connection thrashing.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public virtual void Reconnect()
Public Overridable Sub Reconnect
abstract Reconnect : unit -> unit
override Reconnect : unit -> unit
See Also