Proprietà AdomdCommand.IDbCommand.Transaction

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

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

Sintassi

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

Valore proprietà

Tipo: System.Data.IDbTransaction
The transaction within which the command object runs. The default value is a nullriferimento Null (Nothing in Visual Basic). reference.

Implementa

IDbCommand.Transaction

Vedere anche

Riferimento

AdomdCommand Classe

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient