共用方式為


SPWebApplication.SiteDataServers property

取得對應至伺服器,可透過WebSvcSiteData Web 服務來存取內容的 Uri 的清單 URL 區域的字典。

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

Syntax

'宣告
Public ReadOnly Property SiteDataServers As Dictionary(Of SPUrlZone, List(Of Uri))
    Get
'用途
Dim instance As SPWebApplication
Dim value As Dictionary(Of SPUrlZone, List(Of Uri))

value = instance.SiteDataServers
public Dictionary<SPUrlZone, List<Uri>> SiteDataServers { get; }

Property value

Type: System.Collections.Generic.Dictionary<SPUrlZone, List<Uri>>
Dictionary<TKey, TValue>
將 URL 區域對應至伺服器 Uri 字典。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace