Freigeben über


ISfcConnection.Connect-Methode

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

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

Syntax

'Declaration
Private Function Connect As Boolean
    Implements ISfcConnection.Connect
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

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

Implementiert

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