共用方式為


DTSTransactionOption Enum

Definition

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

public enum class DTSTransactionOption
public enum DTSTransactionOption
type DTSTransactionOption = 
Public Enum DTSTransactionOption
Inheritance
DTSTransactionOption

Fields

Name Value Description
DTSTO_NotSupported 0

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_Supported 1

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.

DTSTO_Required 2

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.

Remarks

For more information, see DTSTransactionOption.

Applies to