共用方式為


IDbCommand.Transaction 屬性

命名空間:  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 支援明確介面實作的使用,但不支援新介面實作的宣告。

實作

IDbCommand. . :: . .Transaction