共用方式為


SPVirtualServerConfig.AlternateUrls property

NOTE: This API is now obsolete.

取得之備用要求 Url 集合的虛擬伺服器。

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

Syntax

'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property AlternateUrls As SPAlternateUrlCollection
    Get
'用途
Dim instance As SPVirtualServerConfig
Dim value As SPAlternateUrlCollection

value = instance.AlternateUrls
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public SPAlternateUrlCollection AlternateUrls { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPAlternateUrlCollection
[Microsoft.SharePoint.Administration.SPAlternateUrlCollection] 物件,代表 Url。

請參閱

參照

SPVirtualServerConfig class

SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace