BlockType Property

The type of block.

Syntax

int GetBlockType(int iBlockIndex);
int SetBlockType(int iBlockIndex, int iBlockType);

Possible Values

ABKT_COMMITTED(0), 
ABKT_UNCOMMITTED(1),
ABKT_LATEST(2)

Default Value

0

Remarks

The type of block.

When populated by ListBlocks, this property reflects the block's type (one of the first two values listed below). When used during a PutBlockList operation, this property specifies which block list the server should search for the block Id specified by BlockId.

Possible values are:

Value Meaning During PutBlockList Operations
abktCommitted (0) Search for a committed block with the specified Id.
abktUncommitted (1) Search for an uncommitted block with the specified Id.
abktLatest (2) Search for an uncommitted block with the specified Id; and then, if one isn't found, search for a committed block.

The BlockIndex parameter specifies the index of the item in the array. The size of the array is controlled by the BlockCount property.

This property is 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]