หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Enumerates a list of current locks on the database.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
| Name | Description |
|---|---|
| Database.EnumLocks () |
Enumerates a list of all current locks held on the database.
|
| Database.EnumLocks (Int32) |
Enumerates a list of current locks held on the database for a specified system process ID.
|
See Also
Reference
Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
How to: Create, Alter, and Remove a Database in Visual Basic .NET
sys.syslockinfo (Transact-SQL)
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)