BlobLeaseState Property

The lease state of the blob.

Syntax

int GetBlobLeaseState(int iBlobIndex);

Possible Values

ABLS_AVAILABLE(0), 
ABLS_LEASED(1),
ABLS_EXPIRED(2),
ABLS_BREAKING(3),
ABLS_BROKEN(4)

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 Qt Edition - Version 20.0 [Build 8265]