다음을 통해 공유


PublishingWeb.SetNewPageUrlToken Method

Sets the available web templates on this PublishingWeb object to be inherited from the parent PublishingWeb object.

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

Syntax

'Declaration
Public Sub SetNewPageUrlToken ( _
    urlToken As String, _
    resetAllSubsitesToInherit As Boolean _
)
'Usage
Dim instance As PublishingWeb
Dim urlToken As String
Dim resetAllSubsitesToInherit As Boolean

instance.SetNewPageUrlToken(urlToken, _
    resetAllSubsitesToInherit)
public void SetNewPageUrlToken(
    string urlToken,
    bool resetAllSubsitesToInherit
)

Parameters

  • resetAllSubsitesToInherit
    Type: System.Boolean

    Indicates whether the setting should be pushed down to all subsites.

See Also

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace