共用方式為


SPFarm.AlternateUrlCollections Property

Gets the collection of alternate URL objects in the farm.

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

Syntax

'Declaration
Public ReadOnly Property AlternateUrlCollections As SPAlternateUrlCollectionManager
    Get
'Usage
Dim instance As SPFarm
Dim value As SPAlternateUrlCollectionManager

value = instance.AlternateUrlCollections
public SPAlternateUrlCollectionManager AlternateUrlCollections { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPAlternateUrlCollectionManager
An SPAlternateUrlCollectionManager object that represents the alternate URLs.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace