ServerConnection.ISfcConnection.Disconnect Método
Disconnects the connection.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Valor devuelto
Tipo: System.Boolean
A Boolean which is true if the connection is disconnected; otherwise, false.