Freigeben über


Server.EnumLocks Method

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

Hinweise

Aktualisierter Text:

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.

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Überladungsliste

Name Description
Server.EnumLocks ()
Enumerates a list of current locks held on the instance of Microsoft SQL Server.
Server.EnumLocks (Int32)
Enumerates a list of current locks held by the specified process on the instance of Microsoft SQL Server.

Siehe auch

Verweis

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

Andere Ressourcen

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Calling Methods
Verwalten von Servern
sys.syslockinfo (Transact-SQL)