Share via


SqlStoreConnection.Disconnect Method

Attempts to disconnect from the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Return Value

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

Implements

ISfcConnection.Disconnect()

See Also

Reference

SqlStoreConnection Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace