共用方式為


TransactionTypes Enum

Definition

Specifies the types of transactions that may be active in a database

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum TransactionTypes
[<System.Flags>]
type TransactionTypes = 
Public Enum TransactionTypes
Inheritance
TransactionTypes
Attributes

Fields

Name Value Description
Versioned 1

A Versioned transaction has a row in sys.dm_tran_active_snapshot_database_transactions

UnVersioned 2

An UnVersioned transaction does not have a row in sys.dm_tran_active_snapshot_database_transactions

Both 3

Specifies inclusion of both Versioned and UnVersioned transactions

Applies to