Partilhar via


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetIisSettingsWithFallback ( _
    zone As SPUrlZone _
) As SPIisSettings
'Usage
Dim instance As SPWebApplication
Dim zone As SPUrlZone
Dim returnValue As SPIisSettings

returnValue = instance.GetIisSettingsWithFallback(zone)
public SPIisSettings GetIisSettingsWithFallback(
    SPUrlZone zone
)

Parameters

Return Value

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

Remarks

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.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace