LockObject

The LockObject method of an object of ClassType clsDatasource locks a DataSource object to prevent actions of multiple users of the object from colliding.

Applies To
clsDatasource  

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 in MDStore Interface.

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