DeleteObjects

Syntax

DeleteObjectsResult DeleteObjects(MbId tMb, DeleteObjectsArg tArg)

Parameters

tMb. Moniker of the repository connection, within which objects are deleted.

tArg. Operation execution parameters.

Description

The DeleteObjects operation deletes repository objects.

Comments

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.

Example

Various methods of using the operation are given in the following examples:

Example name
Deleting One Object
Deleting Several Objects

See also:

Common Operations