LockObject (MDStore Interface)
This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.
The LockObject method of the MDStore interface locks an object to prevent multiple users from concurrently changing the object.
It is sometimes possible for an application to request an additional lock on an already locked object. For example, other applications can request and receive an olapLockRead lock on an object already locked using the olapLockProcess lock. For more information on how lock types interact, see OlapLockTypes.