IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

BlockType Property

The type of block.

Syntax

ANSI (Cross Platform)
int GetBlockType(int iBlockIndex);
int SetBlockType(int iBlockIndex, int iBlockType); Unicode (Windows) INT GetBlockType(INT iBlockIndex);
INT SetBlockType(INT iBlockIndex, INT iBlockType);

Possible Values

ABKT_COMMITTED(0), 
ABKT_UNCOMMITTED(1),
ABKT_LATEST(2)
- (int)blockType:(int)blockIndex;
- (void)setBlockType:(int)blockIndex:(int)newBlockType;

Possible Values

ABKT_COMMITTED(0), 
ABKT_UNCOMMITTED(1),
ABKT_LATEST(2)
#define PID_AZUREBLOB_BLOCKTYPE 33

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_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_AzureBlob_CheckIndex(void *lpObj, int propid, int arridx);

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