Class SqlInstanceHostInformationCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of host information for the host or hosts for the SQL instance. This only applies to on-premises installations of SQL Server.
public class SqlInstanceHostInformationCollection : Collection<SqlInstanceHostInformation>, IList<SqlInstanceHostInformation>, ICollection<SqlInstanceHostInformation>, IList, ICollection, IReadOnlyList<SqlInstanceHostInformation>, IReadOnlyCollection<SqlInstanceHostInformation>, IEnumerable<SqlInstanceHostInformation>, IEnumerable
- Inheritance
-
SqlInstanceHostInformationCollection
- Implements
- Inherited Members
Constructors
SqlInstanceHostInformationCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlInstanceHostInformationCollection class.
public SqlInstanceHostInformationCollection()
Methods
FindByName(string)
Returns the host with the specified name, or null if no host with that name is found.
public SqlInstanceHostInformation FindByName(string name)
Parameters
name
stringThe NetBIOS name of the host to locate.
Returns
- SqlInstanceHostInformation
The host with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()