## EssPartitionReplaceDefFile

Description

Tells the server that a new shared-partition file has been sent, which replaces any existing file for this database.

Syntax

ESS_FUNC_M EssPartitionReplaceDefFile (hCtx);

ESS_HCTX_T | hCtx;

Parameters

hCtx | Essbase API context handle.

Return Value

Returns zero if successful; error code if unsuccessful

Access

A call to this function requires database designer access privileges.

Example

    ESS_STS_T  ESS_PartitionReplaceDefFile(ESS_HCTX_T hCtx)
    {
       ESS_STS_T    sts = ESS_STS_NOERR;

       sts = EssPartitionReplaceDefFile(hCtx);

       printf("EssPartitionReplaceDefFile   sts: %ld\n",sts);

       return(sts);
    }

See Also

Constant and Structure Definitions for Partitions
EssPartitionApplyOtlChangeFile()
EssPartitionApplyOtlChangeRecs()
EssPartitionCloseDefFile()
EssPartitionFreeDefCtx()
EssPartitionFreeOtlChanges()
EssPartitionGetAreaCellCount()
EssPartitionGetList()
EssPartitionGetOtlChanges()
EssPartitionGetReplCells()
EssPartitionNewDefFile()
EssPartitionOpenDefFile()
EssPartitionPurgeOtlChangeFile()
EssPartitionPutReplCells()
EssPartitionReadDefFile()
EssPartitionReadOtlChangeFile()
EssPartitionResetOtlChangeTime()
EssPartitionValidateDefinition()
EssPartitionValidateLocal()
EssPartitionWriteDefFile()