Feature Service DeleteAttachments method

Deletes attachments in a layer using an array of AttachmentIDs.

 

DeleteAttachments(int layerOrTableID, int[] IDsOfAttachmentsToDelete)

 

Parameter

Description

layerOrTableID

The ID of the layer in which to delete attachments.

IDsOfAttachmentsToDelete

Array of AttachmentIDs to delete.

 

Return Value

 

An array of EditResult objects whose order is consistent with the order of the features or objects in the input IDsOfAttachmentsToDelete array.