LockObject (clsServer)

Analysis Services Programming

Analysis Services Programming

LockObject (clsServer)

The LockObject method of an object of ClassType clsServer locks the clsServer object to prevent multiple users from concurrently changing the object.

Syntax

object.LockObject(ByVal LockType As OlapLockTypes, ByVal LockDescription As String)

object

An object of ClassType clsServer.

LockType

One of the constants defined in the OlapLockTypes enumeration. For more information, see OlapLockTypes.

sLockDescription

A string containing the description of the lock, available to other applications attempting to obtain a lock.

Remarks

For more information about object locking, see LockObject.

See Also

clsServer