EsbLROUpdateObject() stores an updated version of a linked object on the server.
EsbLROUpdateObject (hCtx, pLinkId, usOption, pLRODesc) ByVal hCtx As Long pLinkId As ESB_LROHANDLE_API_T ByVal usOption As Integer pLRODesc As ESB_LRODESC_API_T
hCtx | Essbase API context handle. |
pLinkId | Object identification structure. |
usOption | Option specifying which part of the object to update. Use one of the following: ESB_LRO_BOTH_API to update both the object's file and catalog entry. ESB_LRO_OBJ_API to update only the object's file. ESB_LRO_CATALOG_API to update only the object's catalog entry. |
pLRODesc | Object's description structure, ESB_LRODESC_API_T. |
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 EsbLROUpdateObject Lib "esbapin" _ (ByVal hCtx As Long, pLinkID As ESB_LROHANDLE_API_T, _ ByVal usOption As Integer, _ pLRODesc As ESB_LRODESC_API_T) As Long Public Sub ESB_LROUpdateObject() Dim LinkID As ESB_LROHANDLE_API_T Dim Desc As ESB_LRODESC_API_T Dim opt As Integer LinkID.hObject = 1 LinkID.cellKey.cellOffset = 0 LinkID.cellKey.blkOffset = 198 LinkID.cellKey.segment = 0 Desc.userName = "admin" Desc.ObjType = ESB_LROTYPE_CELLNOTE_API Desc.note = "New Note from DFS" opt = ESB_STORE_OBJECT_API sts = EsbLROUpdateObject(hCtx, LinkID, _ opt, Desc) End Sub
LRO Constant and Structure Definitions
EsbLROGetObject()
EsbLROAddObject()
EsbLRODeleteObject()