SPIisSettings class
Represents the Internet Information Services (IIS) authentication settings that are shared across all of the web servers for a specific URL zone, which can be modified and propagated by re-provisioning the web application.
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPIisSettings
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Use the CreateFromExistingWebSite method to create an SPIisSettings object for a specified IIS website, or use the IisSettings property of the SPWebApplication class to return the IIS settings for a particular URL zone. To return the settings for a specific zone, you can specify an SPUrlZone value as an indexer on the IisSettings property.
Setting a property value of the SPIisSettings class, such as AllowAnonymous, does not automatically propagate the new value to all IIS websites across all front-end Web servers. The properties are applied to IIS websites only after the web application is re-provisioned.
