Freigeben über


Disconnect-Methode

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

Rückgabewert

Typ: System. . :: . .Boolean
true if the server is successfully disconnected; otherwise, false.

Implementiert

ISfcConnection. . :: . .Disconnect() () () ()