LockTimeout Property
The time to live for the current resource lock.
Syntax
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;
#define PID_CALDAV_LOCKTIMEOUT 55 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_CalDAV_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_CalDAV_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
The time to live for the current resource lock.
Before the calendar resource can be locked, the Lock 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 LockTimeout of 0 is specified, the server will use a default timeout. After a successful LockCalendar operation, the class will set the Lock LockTimeout property to the correct value returned in the server's response.
Data Type
Integer