SqlStoreConnection.Connect Método
Attempts to connect to the server. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Overrides Function Connect As Boolean
'Uso
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
Valor devuelto
Tipo: System.Boolean
A Boolean indicating whether the connection was successfully established. True if the connection was established. Otherwise, false.