Partager via


Database.EnumLocks Method

Enumerates a list of current locks on the database.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Liste de surcharge

Nom 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.

Voir aussi

Référence

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

Autres ressources

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)