Analysis Services Programming
UnlockAllObjects (clsServer)
The UnlockAllObjects method of an object of ClassType clsServer removes all locks issued by the current session from objects in the server's object model.
Syntax
bRet = object.UnlockAllObjects
bRet
A Boolean variable. This value is set to True if the method is successful and False otherwise.
object
An object of ClassType clsServer.
Example
The following example removes all current locks:
' Assume dsoServer is connected to Analysis Services.
dsoServer.UnlockAllObjects