Share via


SfcConnection.ForceDisconnected Method

Enforces a server disconnect and ensures that connection cannot be re-opened again.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Overridable Sub ForceDisconnected
'Usage
Dim instance As SfcConnection

instance.ForceDisconnected()
public virtual void ForceDisconnected()
public:
virtual void ForceDisconnected()
abstract ForceDisconnected : unit -> unit  
override ForceDisconnected : unit -> unit
public function ForceDisconnected()

Implements

ISfcConnection.ForceDisconnected()

See Also

Reference

SfcConnection Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace