ServerConnection.ISfcConnection.Connect Método
Returns a value that indicates the server to connect using an SFC connection.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Valor devuelto
Tipo: System.Boolean
true if the connection is running; otherwise, false.