共用方式為


SPWebApplication.SiteDataServers Property

Gets a dictionary that maps URL zones to a list of server URIs that are available to access content through the WebSvcSiteData Web service.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property SiteDataServers As Dictionary(Of SPUrlZone, List(Of Uri))
    Get
'Usage
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>
A dictionary that maps URL zones to server URIs.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace