Class BackupExecMediaItemCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of Backup Exec media items.
public class BackupExecMediaItemCollection : Collection<BackupExecMediaItem>, IList<BackupExecMediaItem>, ICollection<BackupExecMediaItem>, IList, ICollection, IReadOnlyList<BackupExecMediaItem>, IReadOnlyCollection<BackupExecMediaItem>, IEnumerable<BackupExecMediaItem>, IEnumerable
- Inheritance
-
BackupExecMediaItemCollection
- Implements
- Inherited Members
Constructors
BackupExecMediaItemCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.BackupExecMediaItemCollection class.
public BackupExecMediaItemCollection()
Methods
FindById(string)
Returns the BackupExecMediaItem with the specified identifier, or null if no BackupExecMediaItem with that identifier is found.
public BackupExecMediaItem FindById(string identifier)
Parameters
identifier
stringThe unqiue identifier of the BackupExecMediaItem to locate. An empty string returns all media items regardless of their media set.
Returns
- BackupExecMediaItem
The BackupExecMediaItem with the specified name.
FindByMediaSet(string)
Returns a CENTREL.XIA.Configuration.Types.BackupExecMediaItemCollection containing media in the media set with the specified name.
public BackupExecMediaItemCollection FindByMediaSet(string name)
Parameters
name
stringThe name of the media set for which to find associated media.
Returns
- BackupExecMediaItemCollection
A CENTREL.XIA.Configuration.Types.BackupExecMediaItemCollection.
FindByName(string)
Returns the CENTREL.XIA.Configuration.Types.BackupExecMediaItem with the specified name, or null if no item with that name is found.
public BackupExecMediaItem FindByName(string name)
Parameters
name
stringThe name of the media to find.
Returns
- BackupExecMediaItem
The CENTREL.XIA.Configuration.Types.BackupExecMediaItem with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()