Método SfcConnection.Connect
Connects to the target server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public MustOverride Function Connect As Boolean
'Uso
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
Valor de retorno
Tipo: System.Boolean
true if the connection succeeds; otherwise, false.