Metodo SqlStoreConnection.Connect
Attempts to connect to the server. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Overrides Function Connect As Boolean
'Utilizzo
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
Valore restituito
Tipo: System.Boolean
A Boolean indicating whether the connection was successfully established. True if the connection was established. Otherwise, false.