SqlStoreConnection.Disconnect 方法

Attempts to disconnect from the server. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Overrides Function Disconnect As Boolean
用法
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

返回值

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

实现

ISfcConnection.Disconnect()

请参阅

参考

SqlStoreConnection 类

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间