SfcConnection.Connect 方法
Connects to the target server.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public MustOverride Function Connect As Boolean
用法
Dim instance As SfcConnection
Dim returnValue As Boolean
returnValue = instance.Connect()
public abstract bool Connect()
public:
virtual bool Connect() abstract
abstract Connect : unit -> bool
public abstract function Connect() : boolean
返回值
类型:System.Boolean
true if the connection succeeds; otherwise, false.