Share via


ISfcConnection.Disconnect Method

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: System.Boolean
True if the connection succeeds; otherwise, false.

See Also

Reference

ISfcConnection Interface

Microsoft.SqlServer.Management.Common Namespace