Share via


ISfcConnection.Connect Method

Connects to the target server.

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

Syntax

'Declaration
Function Connect As Boolean
'Usage
Dim instance As ISfcConnection 
Dim returnValue As Boolean 

returnValue = instance.Connect()
bool Connect()
bool Connect()
abstract Connect : unit -> bool
function Connect() : boolean

Return Value

Type: Boolean
True if the connection succeeds; otherwise, false.

See Also

Reference

ISfcConnection Interface

Microsoft.SqlServer.Management.Common Namespace