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)

Syntax

Visual Basic (Declaration)
Sub UpdateLock( _ 
   ByVal timeout As Long _ 
)
C#
void UpdateLock(
   long timeout
)
C++
void UpdateLock(
   __int64 timeout
) abstract 
J#
void UpdateLock(
   long timeout
)
JScript
function UpdateLock(
   timeout : long
)

Parameters

timeout
The changed timeout value, in seconds, for this object's lock. The range of values is 0 to 2147483647 (Integer.MAX_VALUE) seconds.

See Also