Метод 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.