Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: System.Boolean
A Boolean which is true if the connection is disconnected; otherwise, false.