Método Connect
Attempts to connect to the server. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: System. . :: . .Boolean
A Boolean indicating whether the connection was successfully established. True if the connection was established. Otherwise, false.
Implementa
Consulte também