Metodo ISfcConnection.Disconnect
Disconnects the connection.
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Private Function Disconnect As Boolean
Implements ISfcConnection.Disconnect
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Valore restituito
Tipo: System. . :: . .Boolean
A Boolean which is true if the connection is disconnected; otherwise, false.
Implementa
Vedere anche