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_WEBDAV_LOCKTOKENS 26

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

""

Remarks

Before a call to the LockResource method, 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 call to the LockResource method.

Data Type

String

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