ServerConnection.ISfcConnection.Disconnect Method
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: Boolean
A Boolean which is true if the connection is disconnected; otherwise, false.