Share via


ServerConnection.ISfcConnection.Connect Method

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 supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

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

Implements

ISfcConnection.Connect()

See Also

Reference

ServerConnection Class

Microsoft.SqlServer.Management.Common Namespace