SPWebApplication.GetIisSettingsWithFallback method

Returns the set of Internet Information Services (IIS) settings for the specified zone.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPIisSettings GetIisSettingsWithFallback(
	SPUrlZone zone


Type: Microsoft.SharePoint.Administration.SPUrlZone

An SPUrlZone object that specifies the zone.

Return value

Type: Microsoft.SharePoint.Administration.SPIisSettings
An SPIisSettings object that represents the IIS settings.

If the IIS settings are not found for the specified URL zone, this method returns the settings of the default zone and those settings are used.