共用方式為


SPVirtualServerConfig.Prefixes 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 Prefixes As SPPrefixCollection
    Get
'用途
Dim instance As SPVirtualServerConfig
Dim value As SPPrefixCollection

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

Property value

Type: Microsoft.SharePoint.Administration.SPPrefixCollection
代表 [字首SPPrefixCollection物件。

請參閱

參照

SPVirtualServerConfig class

SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace