Updating and deleting objects on the server

Your API applications can use thedsmUpdateObj or dsmUpdateObjEx function call to update objects that were archived or backed up. Use either call in the session state only, updating one object at a time. Use dsmUpdateObjEx to update any of several archive objects containing the same name.

To select an archive object, set the dsmSendType function call to stArchive.

  • With dsmUpdateObj, only the latest archive object with the assigned name is updated.
  • With dsmUpdateObjEx, any archived object can be updated by specifying the proper object ID.

For an archived object, the application can update the following fields:

  • Description
  • Object information
  • Owner

To select a backup object, set dsmSendType to stBackup. For backed-up objects, only the active copy is updated.

For a backed-up object, the application can update the following fields:

  • Management class
  • Object information
  • Owner