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
urlToken
Type: System.StringThe URL token to be set.
resetAllSubsitesToInherit
Type: System.BooleanIndicates whether the setting should be pushed down to all subsites.