IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

BlobLeaseState Property

The lease state of the blob.

Syntax

ANSI (Cross Platform)
int GetBlobLeaseState(int iBlobIndex);

Unicode (Windows)
INT GetBlobLeaseState(INT iBlobIndex);

Possible Values

ABLS_AVAILABLE(0), 
ABLS_LEASED(1),
ABLS_EXPIRED(2),
ABLS_BREAKING(3),
ABLS_BROKEN(4)
- (int)blobLeaseState:(int)blobIndex;

Possible Values

ABLS_AVAILABLE(0), 
ABLS_LEASED(1),
ABLS_EXPIRED(2),
ABLS_BREAKING(3),
ABLS_BROKEN(4)
#define PID_AZUREBLOB_BLOBLEASESTATE 23

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_AzureBlob_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_AzureBlob_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

The lease state of the blob.

This property reflects the lease state of the blob. Possible values are:

ablsAvailable (0) The blob's lease is unlocked and can be acquired.
ablsLeased (1) The blob's lease is locked.
ablsExpired (2) The lease duration has expired.
ablsBreaking (3) The lease has been broken, but will continue to be locked until the break period expires.
ablsBroken (4) The lease has been broken, and the break period has expired.

This property is always ablsAvailable (0) when BlobIsLeased is false.

The BlobIndex parameter specifies the index of the item in the array. The size of the array is controlled by the BlobCount property.

This property is read-only and not available at design time.

Data Type

Integer

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