Sdílet prostřednictvím


SfcConnection.Connect Method

Connects to the target server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public MustOverride Function Connect As Boolean
'Usage
Dim instance As SfcConnection
Dim returnValue As Boolean

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

Return Value

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

Implements

ISfcConnection.Connect()