共用方式為


Disconnect 方法

Disconnects from the instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Sub Disconnect
'用途
Dim instance As ConnectionManager

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