Method Invalidate
Invalidate(string)
Invalidates this instance (sets the server type to Unknown and clears the connection pool).
[Obsolete("Use Invalidate with TopologyVersion instead.")]
void Invalidate(string reasonInvalidated)Parameters
- reasonInvalidatedstring
- The reason the instance was invalidated. 
Invalidate(string, TopologyVersion)
Invalidates this instance (sets the server type to Unknown and clears the connection pool).
void Invalidate(string reasonInvalidated, TopologyVersion responseTopologyVersion)Parameters
- reasonInvalidatedstring
- The reason the instance was invalidated. 
- responseTopologyVersionTopologyVersion
- The topology of the version of the response that invalidated this instance.