Method Delete
Delete(IDMAObjectRef, string)
Deletes the attachment with name attachmentName from the object with ID objectRef.
public void Delete(IDMAObjectRef objectRef, string attachmentName)
Parameters
objectRefIDMAObjectRefThe ID of the Skyline.DataMiner.Net.DMAObjectRef to delete an attachment from.
attachmentNamestringThe name of the attachment to delete.
Remarks
This method does not throw an exception if an attachment with the given name could not be found for the object.
Exceptions
- ArgumentNullException
objectReforattachmentNameis null.- DataMinerException
InnerException will be an ArgumentException if the object could not be found.
- DataMinerSecurityException
If the user does not have edit permissions on the object