SfcConnection.Disconnect 方法
Disconnects from the target server.
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public MustOverride Function Disconnect As Boolean
'用途
Dim instance As SfcConnection
Dim returnValue As Boolean
returnValue = instance.Disconnect()
public abstract bool Disconnect()
public:
virtual bool Disconnect() abstract
abstract Disconnect : unit -> bool
public abstract function Disconnect() : boolean
傳回值
型別:System.Boolean
true if the server is successfully disconnected; otherwise, false.