Méthode SfcConnection.Connect
Connects to the target server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public MustOverride Function Connect As Boolean
'Utilisation
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
Valeur de retour
Type : System.Boolean
true if the connection succeeds; otherwise, false.