LockObject

The LockObject method of an object of ClassType clsServer requests the OLAP server lock a specified object. The LockObject method locks an object to prevent actions of multiple users of the object from colliding.

Syntax

objServer.LockObject(obj, LockType, sLockDescription)

objServer
An object of ClassType clsServer.
obj
The object to lock.
LockType
One of the lock types of the OlapLockTypes enumeration.
sLockDescription
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.

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