共用方式為


SPWebApplication.IisSettings property

會取得所有的網際網路資訊服務 (IIS) 執行個體屬於 Web 應用程式設定的集合。

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>
System.Collections.Generic.Dictionary物件,代表所有 IIS 執行個體設定的集合。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace