IClusterableServerInvalidate Method (String) |
Note: This API is now obsolete.
Invalidates this instance (sets the server type to Unknown and clears the connection pool).
Namespace:
MongoDB.Driver.Core.Servers
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax [ObsoleteAttribute("Use Invalidate with TopologyVersion instead.")]
void Invalidate(
string reasonInvalidated
)
<ObsoleteAttribute("Use Invalidate with TopologyVersion instead.")>
Sub Invalidate (
reasonInvalidated As String
)
[<ObsoleteAttribute("Use Invalidate with TopologyVersion instead.")>]
abstract Invalidate :
reasonInvalidated : string -> unit
Parameters
- reasonInvalidated
- Type: SystemString
The reason the instance was invalidated.
See Also