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.