Partilhar via


Método Disconnect

Disconnects from the target server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public MustOverride Function Disconnect As Boolean
'Uso
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

Valor de retorno

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

Implementa

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