AdomdCommand.IDbCommand.Transaction Property

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

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

Syntax

'Declaration
Private Property Transaction As IDbTransaction 
    Implements IDbCommand.Transaction 
    Get 
    Set
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

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

Implements

IDbCommand.Transaction

See Also

Reference

AdomdCommand Class

Microsoft.AnalysisServices.AdomdClient Namespace