ISfcConnection.Connect 方法

Connects to the target server.

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

语法

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

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

返回值

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

请参阅

参考

ISfcConnection 接口

Microsoft.SqlServer.Management.Common 命名空间