LockTimeout Property

The time to live for the current resource lock.


ANSI (Cross Platform)
int GetLockTimeout();
int SetLockTimeout(int iLockTimeout); Unicode (Windows) INT GetLockTimeout();
INT SetLockTimeout(INT iLockTimeout);
@property (nonatomic,readwrite,assign,getter=lockTimeout,setter=setLockTimeout:) int lockTimeout;
- (int)lockTimeout;
- (void)setLockTimeout:(int)newLockTimeout;

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_WebDAV_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebDAV_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value



Before a call to the LockResource method, LockTimeout may be set to a specific amount of time needed for the locked operation to take place. The timeout is used to determine how long the lock may exist before the server automatically unlocks the resource URI. If Timeout of 0 is specified, the server will use a default timeout. After a successful LockResource operation, the class will set the LockTimeout property to the correct value returned in the server's response.

Data Type


Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8161]