LockObject

The LockObject method of the Role interface locks a role object to prevent actions of multiple users of the object from colliding.

Applies To
clsDatabaseRole  

Syntax

object.LockObject(LockType, LockDescription)

object
The object to lock.
LockType
One of the lock types of the OlapLockTypes enumeration.
LockDescription
A string containing the description of the lock, available to other applications attempting to obtain a lock.
Remarks

For a complete discussion of object locking, see the LockObject method of the MDStore interface.

See Also
About Decision Support Objects Using Decision Support Objects
UnlockObject Methods Cross-Reference

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.