Partilhar via


Método ISfcConnection.Disconnect

Disconnects the connection.

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

Sintaxe

'Declaração
Private Function Disconnect As Boolean
    Implements ISfcConnection.Disconnect
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

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

Implementa

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