共用方式為


SPWebService.HostHeaderPrefixes property

取得主機標頭網站新增至前置詞組。

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

Syntax

'宣告
Public ReadOnly Property HostHeaderPrefixes As SPPrefixCollection
    Get
'用途
Dim instance As SPWebService
Dim value As SPPrefixCollection

value = instance.HostHeaderPrefixes
public SPPrefixCollection HostHeaderPrefixes { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPPrefixCollection
前置詞組。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace