ISfcConnection.Disconnect 方法

Disconnects from the target server.

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

语法

声明
Function Disconnect As Boolean
用法
Dim instance As ISfcConnection 
Dim returnValue As Boolean 

returnValue = instance.Disconnect()
bool Disconnect()
bool Disconnect()
abstract Disconnect : unit -> bool
function Disconnect() : boolean

返回值

类型:System.Boolean
True if the connection succeeds; otherwise, false.

请参阅

参考

ISfcConnection 接口

Microsoft.SqlServer.Management.Common 命名空间