共用方式為


SPWebApplication.IisSettings Property

Gets a collection of settings for all IIS instances that belong to the Web application.

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

Syntax

Public ReadOnly Property IisSettings As Dictionary(Of SPUrlZone, SPIisSettings)
    Get

Dim instance As SPWebApplication
Dim value As Dictionary(Of SPUrlZone, SPIisSettings)

value = instance.IisSettings
public Dictionary<SPUrlZone, SPIisSettings> IisSettings { get; }

Property Value

Type: System.Collections.Generic.Dictionary<SPUrlZone, SPIisSettings>
A System.Collections.Generic.Dictionary object that represents the collection of settings for all IIS instances.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace