Méthode SqlStoreConnection.Disconnect
Attempts to disconnect from the server. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Overrides Function Disconnect As Boolean
'Utilisation
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
Valeur de retour
Type : System.Boolean
A Boolean indicating whether the disconnection was successful. True if the disconnection succeeded. Otherwise, false.