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