IServiceTransactionConfigBase::ConfigureTransaction 方法 (comsvcs.h)

設定在封入工作中使用的交易方式。

語法

HRESULT ConfigureTransaction(
  [in] CSC_TransactionConfig transactionConfig
);

參數

[in] transactionConfig

來自CSC_TransactionConfig列舉的值。

傳回值

這個方法可以傳回標準傳回值E_INVALIDARG、E_OUTOFMEMORY、E_FAIL和S_OK。

規格需求

需求
最低支援的用戶端 具有 SP1 的 Windows XP [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限傳統型應用程式]
目標平台 Windows
標頭 comsvcs.h

另請參閱

IServiceTransactionConfigBase