ISfcConnection.Disconnect-Methode

Disconnects the connection.

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

Syntax

'Declaration
Private Function Disconnect As Boolean
    Implements ISfcConnection.Disconnect
'Usage
Dim instance As ServerConnection
Dim returnValue As Boolean

returnValue = CType(instance, ISfcConnection).Disconnect()
bool ISfcConnection.Disconnect()
private:
virtual bool Disconnect() sealed = ISfcConnection::Disconnect
private abstract Disconnect : unit -> bool 
private override Disconnect : unit -> bool 
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

Typ: System. . :: . .Boolean
A Boolean which is true if the connection is disconnected; otherwise, false.

Implementiert

ISfcConnection. . :: . .Disconnect() () () ()