Adjusts the timeout period of the lock on this object.
This method updates the object's DateLastModified property to the current time and its LockTimeout property to the timeout value.
The net effect of this may extend or shorten the original lock's expiration time. Only the user who locked the object can successfully call this method; for any other user,
an exception is thrown.
There is no limit to the number of times you can call this method.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Sub UpdateLock ( _
timeout As Long _
) |
C# |
---|
void UpdateLock(
long timeout
) |
Visual C++ |
---|
void UpdateLock(
long long timeout
) |
JavaScript |
---|
function updateLock(timeout); |
Parameters
- timeout
- Type: System..::.Int64
The changed timeout value, in seconds, for this object's lock. The range of values is
0 to 2147483647 (Integer.MAX_VALUE) seconds.