This structure holds the shared partition information.
Type ESB_PART_INFO_T OperationType As Integer DataDirection As Integer MetaDirection As Integer usReserved As Integer LastMetaUpdateTime As Long LastRefreshTime As Long AreaUpdatable As Integer IncrRefreshAllowed As Integer LastUpdateTime As Long SvrName As String * ESB_SVRNAMELEN AppName As String * ESB_APPNAMELEN DbName As String * ESB_DBNAMELEN End Type
Data Type | Field | Description |
---|---|---|
Integer | OperationTypes | One of the Operation Type constants listed below. |
Integer | DirectionTypes | One of the Direction constants listed below. |
Integer | MetaDirectionTypes | One of the MetaDirection constants listed below. |
Integer | usReserved | Reserved for future use - is set to 0. |
Long | LastMetaUpdateTime | Last time meta data was updated. |
The following fields only apply to replication data targets | ||
Long | LastRefreshTime | Last time data at target was refreshed. |
Integer | AreaUpdatable | Are changes allowed to replicated data? |
The following fields only apply to replication data sources | ||
Integer | IncrRefreshAllowed | Can we refresh only the changed data? |
Long | LastUpdateTime | Time of last change to data in the partition. |
The following fields only apply to remote connections. | ||
String | SvrName | Host for the other side of the partition definition. |
String | AppName | Application for the other side of the partition definition. |
String | DbName | Database for other side of the partition definition; meta data change information. |
#define ESB_PARTITION_OP_REPLICATED 0x0001 #define ESB_PARTITION_OP_LINKED 0x0002 #define ESB_PARTITION_OP_TRANSPARENT 0x0004 #define ESB_PARTITION_OP_ALLTYPES = ESB_PARTITION_OP_REPLICATED + ESB_PARTITION_OP_LINKED + + ESB_PARTITION_OP_TRANSPARENT)
#define ESB_PARTITION_DATA_SOURCE 0x0001 #define ESB_PARTITION_DATA_TARGET 0x0002 #define ESB_PARTITION_DATA_BOTH = ESB_PARTITION_DATA_SOURCE + ESB_PARTITION_DATA_TARGET)
Global Const ESB_PARTITION_META_SOURCE = 0x0001 'Source metadata partitions Global Const ESB_PARTITION_META_TARGET = 0x0002 'Target metadata partitions Global Const ESB_PARTITION_META_BOTH = ESB_PARTITION_META_SOURCE + ESB_PARTITION_META_TARGET