Partilhar via


Método ISfcConnection.Connect

Returns a value that indicates the server to connect using an SFC connection.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Private Function Connect As Boolean
    Implements ISfcConnection.Connect
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

Tipo: System. . :: . .Boolean
true if the connection is running; otherwise, false.

Implementa

ISfcConnection. . :: . .Connect() () () ()