Freigeben über


SqlStoreConnection.Disconnect-Methode

Attempts to disconnect from the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Syntax

'Declaration
Public Overrides Function Disconnect As Boolean
'Usage
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

Rückgabewert

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

Implementiert

ISfcConnection.Disconnect()

Siehe auch

Verweis

SqlStoreConnection Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace