Freigeben über


Connect-Methode

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

Rückgabewert

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

Implementiert

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