ConnectionManager.ForceDisconnected Method

Forces a disconnect from the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Sub ForceDisconnected
'Usage
Dim instance As ConnectionManager

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