SfcConnection.Disconnect Method
Disconnects from the target server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public MustOverride Function Disconnect As Boolean
'Usage
Dim instance As SfcConnection
Dim returnValue As Boolean
returnValue = instance.Disconnect()
public abstract bool Disconnect()
public:
virtual bool Disconnect() abstract
abstract Disconnect : unit -> bool
public abstract function Disconnect() : boolean
Return Value
Type: System.Boolean
true if the server is successfully disconnected; otherwise, false.