# EsbPartitionFreeDefCtx

Description

EsbPartitionFreeDefCtx() frees memory dynamically allocated under shared-partition context structures.

Syntax

    EsbPartitionFreeDefCtx (hCtx, DdbCtxHandle)

    ByVal hCtx As Long
    ByVal DdbCtxHandle As Long

Parameters

hCtx | Handle to Essbase API context.
DdbCtxHandle | Handle to shared-partition context.

Return Value

Returns zero if successful, error code if unsuccessful.

Notes

- Use this function as part of a sequence of definition operations. Use EsbPartitionOpenDefFile() to open existing definition files. Use EsbPartitionNewDefFile() to create and open a new definition file. Use EsbPartitionReadDefFile() or EsbPartitionWriteDefFile() to read or write a definition file. Close with EsbPartitionCloseDefFile(). Then free the memory with EsbPartitionFreeDefCtx().

Example

For an example, see EsbPartitionNewDefFile().

See Also

EsbPartitionApplyOtlChangeFile
EsbPartitionApplyOtlChangeRecs
EsbPartitionCloseDefFile
EsbPartitionFreeOtlChanges
EsbPartitionGetAreaCellCount
EsbPartitionGetList
EsbPartitionGetOtlChanges
EsbPartitionGetReplCells
EsbPartitionNewDefFile
EsbPartitionOpenDefFile
EsbPartitionPurgeOtlChangeFile
EsbPartitionPutReplCells
EsbPartitionReadDefFile
EsbPartitionReadOtlChangeFile
EsbPartitionResetOtlChangeTime
EsbPartitionReplaceDefFile
EsbPartitionValidateDefinition
EsbPartitionValidateLocal
EsbPartitionWriteDefFile