Partilhar via


Propriedade IDbCommand.Connection

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Private Property Connection As IDbConnection
    Implements IDbCommand.Connection
    Get
    Set
'Uso
Dim instance As AdomdCommand
Dim value As IDbConnection

value = CType(instance, IDbCommand).Connection

CType(instance, IDbCommand).Connection = value
IDbConnection IDbCommand.Connection { get; set; }
private:
virtual property IDbConnection^ Connection {
    IDbConnection^ get () sealed = IDbCommand::Connection::get;
    void set (IDbConnection^ value) sealed = IDbCommand::Connection::set;
}
private abstract Connection : IDbConnection with get, set
private override Connection : IDbConnection with get, set
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor da propriedade

Tipo: System.Data. . :: . .IDbConnection

Implementa

IDbCommand. . :: . .Connection