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.