PortalSiteMapProvider.Version property

Gets or sets the version of the PortalSiteMapProvider object.

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

Syntax

'Declaration
Public Property Version As Integer
    Get
    Set
'Usage
Dim instance As PortalSiteMapProvider
Dim value As Integer

value = instance.Version

instance.Version = value
public int Version { get; set; }

Property value

Type: System.Int32
The version of the PortalSiteMapProvider object.

Remarks

This setting affects three of the provider's default settings. A value of 13 or less will give behavior consistent with Microsoft Office SharePoint Server 2007. A value for 14 or higher causes the following changes:

  1. DynamicChildLimit defaults to 0, rather than 50
  1. RequireUniqueKeysForNodes defaults to true, rather than false
  1. CurrentNode returns the current page, even if the web does not include pages in navigation

See also

Reference

PortalSiteMapProvider class

PortalSiteMapProvider members

Microsoft.SharePoint.Publishing.Navigation namespace

DynamicChildLimit

RequireUniqueKeysForNodes

CurrentNode

GlobalIncludePages

CurrentIncludePages