共用方式為


SPWebService.WebConfigModifications property

取得 web.config 修改套用至 Web 服務中的所有 Web 應用程式。

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

Syntax

'宣告
Public ReadOnly Property WebConfigModifications As Collection(Of SPWebConfigModification)
    Get
'用途
Dim instance As SPWebService
Dim value As Collection(Of SPWebConfigModification)

value = instance.WebConfigModifications
public Collection<SPWebConfigModification> WebConfigModifications { get; }

Property value

Type: System.Collections.ObjectModel.Collection<SPWebConfigModification>
SPWebConfigModification 物件的集合。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace