Database.EnumLocks Method

Enumerates a list of current locks on the database.

Hinweise

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

Überladungsliste

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

Siehe auch

Verweis

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

Andere Ressourcen

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)