Méthode ISfcConnection.Connect
Returns a value that indicates the server to connect using an SFC connection.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Private Function Connect As Boolean
Implements ISfcConnection.Connect
'Utilisation
Dim instance As ServerConnection
Dim returnValue As Boolean
returnValue = CType(instance, ISfcConnection).Connect()
bool ISfcConnection.Connect()
private:
virtual bool Connect() sealed = ISfcConnection::Connect
private abstract Connect : unit -> bool
private override Connect : unit -> bool
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Valeur de retour
Type : System. . :: . .Boolean
true if the connection is running; otherwise, false.