Condividi tramite


Server.EnumLocks Method

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

Osservazioni

Testo aggiornato:

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.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Elenco degli overload

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

Vedere anche

Riferimento

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

Altre risorse

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