The UnlockAllObjects method of an object of ClassTypeclsServer removes all locks issued by the current session from objects in the server’s object model.
Syntax
bRet = objServer.UnlockAllObjects
bRet
A Boolean variable that receives the result of the method: True if successful; False if otherwise.