LockTokens Property

The lock string to be used when submitting operations on a locked resource.

Syntax

ANSI (Cross Platform)
char* GetLockTokens();
int SetLockTokens(const char* lpszLockTokens); Unicode (Windows) LPWSTR GetLockTokens();
INT SetLockTokens(LPCWSTR lpszLockTokens);
@property (nonatomic,readwrite,assign,getter=lockTokens,setter=setLockTokens:) NSString* lockTokens;
- (NSString*)lockTokens;
- (void)setLockTokens:(NSString*)newLockTokens;
#define PID_CALDAV_LOCKTOKENS 56

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

""

Remarks

The lock string to be used when submitting operations on a locked resource.

Before the calendar resource can be locked, the Lock LockTokens may be set to the tokens returned by a previous lock operation. This is useful when renewing a timeout. The server will respond with a new timeout value, which will be stored in LockTimeout. If the lock request is not a lock refresh, LockTokens must be empty, and will be parsed out of the server response after a successful LockCalendar operation.

Data Type

String

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