Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disconnects from the target server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Function Disconnect As Boolean
'Usage
Dim instance As ISfcConnection
Dim returnValue As Boolean
returnValue = instance.Disconnect()
bool Disconnect()
bool Disconnect()
abstract Disconnect : unit -> bool
function Disconnect() : boolean
Return Value
Type: Boolean
True if the connection succeeds; otherwise, false.