Method GetFileNames
GetFileNames(IDMAObjectRef)
Returns the names of the files attached to the IDMAObjectRef with ID objectRef
.
public List<string> GetFileNames(IDMAObjectRef objectRef)
Parameters
objectRef
IDMAObjectRefThe ID of the DMAObjectRef to get the attachment names for.
Returns
- List<string>
The names of the attachments. An empty list if the
objectRef
does not have attachments.
Exceptions
- ArgumentNullException
If IDMAObjectRef is null.
- DataMinerException
InnerException will be an ArgumentException if the DMAObjectRef could not be found.
- DataMinerSecurityException
If the user does not have read permissions for this.