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.

C#
[System.Flags]
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

Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0