Compartir a través de


Disconnect Método

Attempts to disconnect from the server. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
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 devuelto

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

Implementa

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