Class MicrosoftDhcpServerv4PolicyCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection Microsoft DHCP IPv4 policies.
public class MicrosoftDhcpServerv4PolicyCollection : Collection<MicrosoftDhcpServerv4Policy>, IList<MicrosoftDhcpServerv4Policy>, ICollection<MicrosoftDhcpServerv4Policy>, IList, ICollection, IReadOnlyList<MicrosoftDhcpServerv4Policy>, IReadOnlyCollection<MicrosoftDhcpServerv4Policy>, IEnumerable<MicrosoftDhcpServerv4Policy>, IEnumerable
- Inheritance
-
MicrosoftDhcpServerv4PolicyCollection
- Implements
- Inherited Members
Constructors
MicrosoftDhcpServerv4PolicyCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4PolicyCollection class.
public MicrosoftDhcpServerv4PolicyCollection()
Methods
Exists(string)
Determines whether a CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Policy with the specified full name exists within the collection.
public bool Exists(string fullName)
Parameters
fullName
stringThe full name of the CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Policy to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Policy with the specified full name exists within the collection.
FindByName(string)
Returns the CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Policy with the specified full name, or null if no CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Policy with that full name is found.
public MicrosoftDhcpServerv4Policy FindByName(string fullName)
Parameters
fullName
stringThe full name of the CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Policy to locate.
Returns
- MicrosoftDhcpServerv4Policy
The CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Policy with the specified full name.
FindByScope(MicrosoftDhcpServerv4Scope)
Returns the policies that belong to the specified scope.
public MicrosoftDhcpServerv4PolicyCollection FindByScope(MicrosoftDhcpServerv4Scope scope)
Parameters
scope
MicrosoftDhcpServerv4ScopeThe scope for which the policies are to be returned.
Returns
FindServerLevelPolicies()
Returns the server level policies in the collection.
public MicrosoftDhcpServerv4PolicyCollection FindServerLevelPolicies()
Returns
Sort()
Sorts the values in the collection.
public void Sort()
ToPolicyNames()
Returns the policies as a collection of policy names.
public SerializableStringCollection ToPolicyNames()
Returns
- SerializableStringCollection
The policies as a collection of policy names.