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.DriverAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.3.0
Syntax public virtual void Reconnect()
Public Overridable Sub Reconnect
abstract Reconnect : unit -> unit
override Reconnect : unit -> unit
See Also