Compartilhar via


Propriedade do RDL AdomdCommand.IDbCommand.Transaction

Gets or sets the transaction within which the command object runs.

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

Sintaxe

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

value = CType(instance, IDbCommand).Transaction 

CType(instance, IDbCommand).Transaction = value
IDbTransaction IDbCommand.Transaction { get; set; }
private:
virtual property IDbTransaction^ Transaction {
    IDbTransaction^ get () sealed = IDbCommand::Transaction::get;
    void set (IDbTransaction^ value) sealed = IDbCommand::Transaction::set;
}
private abstract Transaction : IDbTransaction with get, set 
private override Transaction : IDbTransaction 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.IDbTransaction
The transaction within which the command object runs. The default value is a nulluma referência nula (Nothing no Visual Basic) reference.

Implementa

IDbCommand.Transaction

Consulte também

Referência

AdomdCommand Classe

Namespace Microsoft.AnalysisServices.AdomdClient