SPWebApplication.Prefixes property
取得的可能會建立網站的路徑。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Prefixes As SPPrefixCollection
Get
'用途
Dim instance As SPWebApplication
Dim value As SPPrefixCollection
value = instance.Prefixes
public SPPrefixCollection Prefixes { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPPrefixCollection
代表可以建立網站的路徑一組SPPrefixCollection物件。
備註
請注意,它不一定可能建立網站中的所有SPPrefix物件包含在集合中。例如,包含絕對路徑下建立網站時,無法建立第二個站台。