Share via


Database.GetTransactionCount Method

Definition

Overloads

GetTransactionCount()

Returns the number of open transactions

GetTransactionCount(TransactionTypes)

Returns the number of open transactions with

GetTransactionCount()

Returns the number of open transactions

public int GetTransactionCount ();
member this.GetTransactionCount : unit -> int
Public Function GetTransactionCount () As Integer

Returns

Applies to

GetTransactionCount(TransactionTypes)

Returns the number of open transactions with

public int GetTransactionCount (Microsoft.SqlServer.Management.Smo.TransactionTypes transactionType);
member this.GetTransactionCount : Microsoft.SqlServer.Management.Smo.TransactionTypes -> int
Public Function GetTransactionCount (transactionType As TransactionTypes) As Integer

Parameters

transactionType
TransactionTypes

Returns

Applies to