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.