Proprietà AdomdCommand.IDbCommand.Connection

Gets or sets the AdomdConnection used by this instance of the AdomdCommand.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Private Property Connection As IDbConnection 
    Implements IDbCommand.Connection 
    Get 
    Set
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Valore proprietà

Tipo: System.Data.IDbConnection
An AdomdConnection, or a nullriferimento Null (Nothing in Visual Basic). value if no AdomdConnection is associated with the AdomdCommand.

Implementa

IDbCommand.Connection

Vedere anche

Riferimento

AdomdCommand Classe

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient