Click or drag to resize

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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
[ObsoleteAttribute("Use Invalidate with TopologyVersion instead.")]
void Invalidate(
	string reasonInvalidated
)

Parameters

reasonInvalidated
Type: SystemString
The reason the instance was invalidated.
See Also