Metodo ServerConnection.ISfcConnection.Connect
Returns a value that indicates the server to connect using an SFC connection.
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Private Function Connect As Boolean
Implements ISfcConnection.Connect
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Valore restituito
Tipo: System.Boolean
true if the connection is running; otherwise, false.