Méthode SqlStoreConnection.Connect

Attempts to connect to the server. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL 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 Overrides Function Connect As Boolean
'Utilisation
Dim instance As SqlStoreConnection 
Dim returnValue As Boolean 

returnValue = instance.Connect()
public override bool Connect()
public:
virtual bool Connect() override
abstract Connect : unit -> bool  
override Connect : unit -> bool
public override function Connect() : boolean

Valeur de retour

Type : System.Boolean
A Boolean indicating whether the connection was successfully established. True if the connection was established. Otherwise, false.

Implémente

ISfcConnection.Connect()

Voir aussi

Référence

SqlStoreConnection Classe

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc