LockType Property

The type of the current resource lock.

Syntax

ANSI (Cross Platform)
char* GetLockType();
int SetLockType(const char* lpszLockType); Unicode (Windows) LPWSTR GetLockType();
INT SetLockType(LPCWSTR lpszLockType);
@property (nonatomic,readwrite,assign,getter=lockType,setter=setLockType:) NSString* lockType;
- (NSString*)lockType;
- (void)setLockType:(NSString*)newLockType;
#define PID_CALDAV_LOCKTYPE 52

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

"write"

Remarks

The type of the current resource lock.

Before the calendar resource can be locked, the LockType may be set to the type of lock being requested. Currently, the class only supports requesting locks of type "write", although the protocol defines an optional "read" lock. After a successful LockCalendar operation, the class will set the LockType property to the correct value returned in the server's response.

Data Type

String

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