Gets the number of open transactions on the database.
重载列表
| 名称 | 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.
 | 
请参阅
参考
Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace
其他资源
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)