EsbPartitionPutReplCells() replicates all data cells that are identified in the replication partition from the selected source database to the target database.
EsbPartitionPutReplCells (hCtx, ReplicatedRegion, HostAppDbList)
ByVal hCtx As Long ReplicatedRegion As ESB_PART_REPL_T ByVal HostAppDbList As String
hCtx | Essbase API context handle. |
ReplicatedPartition | Partition information. |
HostAppDbList | List of database/applications on the host server. |
Returns zero if successful; error code if unsuccessful.
This routine removes the file if it's empty after purging.
A call to this function requires database designer access privileges.
Public Sub ESB_PartitionPutReplCells() Dim ReplPartition As ESB_PART_REPL_T Dim HostAppDbList As String Dim ProcState As ESB_PROCSTATE_T Dim ind, i As Long ReplPartition.PartitionCount = -1 'All areas ReplPartition.UpdatedOnly = 0 'Updated only cells HostAppDbList = "localhost" & vbCrLf & _ "Sampeast" & vbCrLf & _ "East" sts = EsbPartitionPutReplCells(hCtx, ReplPartition, HostAppDbList) If sts = 0 Then sts = EsbGetProcessState(hCtx, ProcState) Do Until ProcState.State = ESB_STATE_DONE sts = EsbGetProcessState(hCtx, ProcState) Loop End If End Sub
Constant and Structure Definitions for
Partitions
EsbPartitionApplyOtlChangeFile()
EsbPartitionGetAreaCellCount()
EsbPartitionGetList()
EsbPartitionGetOtlChanges()
EsbPartitionGetReplCells()
EsbPartitionPurgeOtlChangeFile()
EsbPartitionResetOtlChangeTime()