Udostępnij za pośrednictwem


Database.GetTransactionCount Method

Gets the number of open transactions on the database.

Overload List

Name Description
Database.GetTransactionCount ()
Gets the number of open transactions on the database.
Database.GetTransactionCount (TransactionTypes)
Gets the number of open transactions of a specified type on the database.

See Also

Reference

Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Create, Alter, and Remove a Database in Visual Basic .NET
sys.dm_tran_active_transactions
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)