Class SqlLogFileCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of log files in a SQL database.
public class SqlLogFileCollection : Collection<SqlLogFile>, IList<SqlLogFile>, ICollection<SqlLogFile>, IList, ICollection, IReadOnlyList<SqlLogFile>, IReadOnlyCollection<SqlLogFile>, IEnumerable<SqlLogFile>, IEnumerable
- Inheritance
-
SqlLogFileCollection
- Implements
- Inherited Members
Constructors
SqlLogFileCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlLogFileCollection class.
public SqlLogFileCollection()
Methods
FindByIdentifier(Guid)
Returns the log file with the specified identifier, or null if no log file with that identifier is found.
public SqlLogFile FindByIdentifier(Guid identifier)
Parameters
identifier
GuidThe unique identifier of the log file to locate.
Returns
- SqlLogFile
The log file with the specified identifier.
FindByName(string)
Returns the log file with the specified name, or null if no file with that name is found.
public SqlLogFile FindByName(string name)
Parameters
name
stringThe name of the log file to locate.
Returns
- SqlLogFile
The log file with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()