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_WEBDAV_LOCKTYPE 27

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

"write"

Remarks

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