Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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)