EsbLRODeleteObject() deletes a specific object linked to a data cell in an Essbase database. To delete all objects linked to a cell, use EsbLRODeleteCellObjects().
EsbLRODeleteObject (hCtx, pLinkId) ByVal hCtx As Long pLinkId As ESB_LROHANDLE_API_T
hCtx | Essbase API context handle. |
pLinkId | Pointer to object identification structure. The structure is returned by EsbLROAddObject() through the ESB_LRODESC_API_T structure. |
If successful, returns ESB_STS_NOERR. Otherwise, returns an error code.
A call to this function requires write privileges (ESB_PRIV_WRITE) to the data cell or the active database.
Declare Function EsbLRODeleteObject Lib "esbapin" _ (ByVal hCtx As Long, pLinkID As ESB_LROHANDLE_API_T) _ As Long Public Sub ESB_LRODeleteObject() Dim LinkID As ESB_LROHANDLE_API_T LinkID.hObject = 1 LinkID.cellKey.cellOffset = 0 LinkID.cellKey.blkOffset = 198 LinkID.cellKey.segment = 0 sts = EsbLRODeleteObject(hCtx, LinkID) End Sub
LRO Constant and Structure Definitions
EsbLROAddObject()
EsbLRODeleteCellObjects()
EsbLROPurgeObjects()