Method GetFileNames
GetFileNames(IDMAObjectRef)
Returns the names of the files attached to the Skyline.DataMiner.Net.IDMAObjectRef with ID objectRef
.
public List<string> GetFileNames(IDMAObjectRef objectRef)
Parameters
objectRef
IDMAObjectRefThe ID of the Skyline.DataMiner.Net.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 Skyline.DataMiner.Net.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.