Class IisSiteCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of IIS sites.
public class IisSiteCollection : Collection<IisSite>, IList<IisSite>, ICollection<IisSite>, IList, ICollection, IReadOnlyList<IisSite>, IReadOnlyCollection<IisSite>, IEnumerable<IisSite>, IEnumerable
- Inheritance
-
IisSiteCollection
- Implements
- Inherited Members
Constructors
IisSiteCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisSiteCollection class.
public IisSiteCollection()
Methods
Exists(Guid)
Returns a System.Boolean value that indicates whether a site with the specified identifier exists within the collection.
public bool Exists(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.IisSite to locate.
Returns
- bool
A System.Boolean value that indicates whether an site with the specified identifier exists within the collection.
Exists(string)
Returns a System.Boolean value that indicates whether a site with the specified name exists within the collection.
public bool Exists(string siteName)
Parameters
siteNamestringThe name of the CENTREL.XIA.Configuration.Types.IisSite to locate.
Returns
- bool
A System.Boolean value that indicates whether an site with the specified name exists within the collection.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.IisSite with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.IisSite with that identifier is found.
public IisSite FindByIdentifier(Guid identifier)
Parameters
identifierGuidThe unique identifier of the CENTREL.XIA.Configuration.Types.IisSite to locate.
Returns
- IisSite
The CENTREL.XIA.Configuration.Types.IisSite with the specified identifier.
FindByName(string)
Returns the CENTREL.XIA.Configuration.Types.IisSite with the specified name, or null if no CENTREL.XIA.Configuration.Types.IisSite with that name is found.
public IisSite FindByName(string siteName)
Parameters
siteNamestringThe name of the CENTREL.XIA.Configuration.Types.IisSite to locate.
Returns
- IisSite
The CENTREL.XIA.Configuration.Types.IisSite with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()