# EsbPartitionCloseDefFile

Description

EsbPartitionCloseDefFile() closes the shared partition definition file.

Syntax

    EsbPartitionCloseDefFile (hCtx, FileHandle)

    ByVal hCtx As Long
    ByVal FileHandle As Long

Parameters

hCtx | Handle to Essbase API context.
FileHandle | The handle of the file to close.

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
EsbPartitionFreeDefCtx
EsbPartitionFreeOtlChanges
EsbPartitionGetAreaCellCount
EsbPartitionGetList
EsbPartitionGetOtlChanges
EsbPartitionGetReplCells
EsbPartitionNewDefFile
EsbPartitionOpenDefFile
EsbPartitionPurgeOtlChangeFile
EsbPartitionPutReplCells
EsbPartitionReadDefFile
EsbPartitionReadOtlChangeFile
EsbPartitionResetOtlChangeTime
EsbPartitionReplaceDefFile
EsbPartitionValidateDefinition
EsbPartitionValidateLocal
EsbPartitionWriteDefFile