Gets or sets the transaction within which the command object runs.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Private Property Transaction As IDbTransaction
Implements IDbCommand.Transaction
Get
Set
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。
属性值
类型:System.Data.IDbTransaction
The transaction within which the command object runs. The default value is a nullnull 引用(在 Visual Basic 中为 Nothing) reference.