Delen via


ConnectionManager.Disconnect Method

Disconnects from the instance of SQL Server.

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

Syntax

'Declaration
Public Sub Disconnect
'Usage
Dim instance As ConnectionManager

instance.Disconnect()
public void Disconnect()
public:
void Disconnect()
member Disconnect : unit -> unit 
public function Disconnect()