Partilhar via


Método Disconnect

Attempts to disconnect from the server. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Public Overrides Function Disconnect As Boolean
'Uso
Dim instance As SqlStoreConnection
Dim returnValue As Boolean

returnValue = instance.Disconnect()
public override bool Disconnect()
public:
virtual bool Disconnect() override
abstract Disconnect : unit -> bool 
override Disconnect : unit -> bool 
public override function Disconnect() : boolean

Valor de retorno

Tipo: System. . :: . .Boolean
A Boolean indicating whether the disconnection was successful. True if the disconnection succeeded. Otherwise, false.

Implementa

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