Share via


SqlStoreConnection.Connect Method

Attempts to connect to the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Public Overrides Function Connect As Boolean
'Usage
Dim instance As SqlStoreConnection 
Dim returnValue As Boolean 

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

Return Value

Type: System.Boolean
A Boolean indicating whether the connection was successfully established. True if the connection was established. Otherwise, false.

Implements

ISfcConnection.Connect()

See Also

Reference

SqlStoreConnection Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace