Freigeben über


Server.EnumLocks-Methode

Geschützte Member einschließen
Geerbte Member einschließen

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

Das Element ist überladen. Um vollständige Informationen zu diesem Element zu erhalten, einschließlich Syntax, Verwendung und Beispielen, klicken Sie auf einen Namen in der Überladungsliste.

Überladungsliste

  Name Beschreibung
Öffentliche Methode EnumLocks() Enumerates a list of current locks held on the instance of SQL Server.
Öffentliche Methode EnumLocks(Int32) Enumerates a list of current locks held by the specified process on the instance of SQL Server.

Zum Anfang

Hinweise

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.

Siehe auch

Verweis

Server Klasse

Microsoft.SqlServer.Management.Smo-Namespace