Database.GetTransactionCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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