共用方式為


DTSTransactionOption 列舉

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Describes transaction supportability and specifies whether a container participates in transactions.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Enumeration DTSTransactionOption
'用途
Dim instance As DTSTransactionOption
public enum DTSTransactionOption
public enum class DTSTransactionOption
type DTSTransactionOption
public enum DTSTransactionOption

成員

成員名稱 說明
DTSTO_NotSupported Specifies that no transaction will be started for this container, and consequently, the outcome of the current transaction, if one has been started by a parent container, will not affect the data that may be altered during execution of this container. This means that changes will not roll back, even if the parent container started a transaction.
DTSTO_Required Specifies that this container will cause a new transaction to be started unless the parent container already has a transaction, in which case, the parent’s transaction will be joined.
DTSTO_Supported Specifies that this container will not start a transaction. However, it will participate in a transaction if the parent container started one. This is the default.

備註

For more information, see DTSTransactionOption.

請參閱

參考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間