หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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)