Partager via


Méthode Server.EnumLocks

Inclure les membres protégés
Inclure les membres hérités

Enumerates a list of current locks held on the instance of SQL Server.

Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.

Liste de surcharge

  Nom Description
Méthode publique EnumLocks() Enumerates a list of current locks held on the instance of SQL Server.
Méthode publique EnumLocks(Int32) Enumerates a list of current locks held by the specified process on the instance of SQL Server.

Haut de la page

Notes

Use this method to determine the locks that are currently held on the instance of SQL Server. The information that is returned can help you identify locking problems that might affect performance.

Voir aussi

Référence

Server Classe

Espace de noms Microsoft.SqlServer.Management.Smo