Class IisIPRestriction
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Microsoft IIS IP or domain restriction.
public class IisIPRestriction : IisConfigurationElement
- Inheritance
-
IisIPRestriction
- Inherited Members
Constructors
IisIPRestriction()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisIPRestriction class.
public IisIPRestriction()
Properties
DomainName
Gets or sets the domain name to which the restriction applies.
public string DomainName { get; set; }
Property Value
IPAddress
Gets or sets the IP address to which the restriction applies.
public string IPAddress { get; set; }
Property Value
Mode
Gets or sets the mode of the restriction.
public IisIPRestrictionMode Mode { get; set; }
Property Value
Requestor
Gets the requestor.
public string Requestor { get; set; }
Property Value
SubnetMask
Gets or sets the subnet mask to which the restriction applies.
public string SubnetMask { get; set; }
Property Value
Methods
ToString()
Returns the IP or domain restriction as a human readable string.
public override string ToString()
Returns
- string
The IP or domain restriction as a human readable string.