DeleteObjectsResult DeleteObjects(MbId tMb, DeleteObjectsArg tArg)
tMb. Moniker of the repository connection, within which objects are deleted.
tArg. Operation execution parameters.
The DeleteObjects operation deletes repository objects.
This operation enables the user to delete one or several repository objects. To do this, in the tArg parameter specify the objectKey or objects fields respectively. The getObjects field may also contain parameters of repository objects list update that will be applied after the operation is executed. If the update parameters are specified, the updated list of objects is available in the objects field of the operation execution result.
If an object or objects cannot be deleted for any reason, an exception is thrown on executing the operation.
Various methods of using this operation are given in the following examples:
Example name |
Deleting One Object |
Deleting Several Objects |
See also: