TaxonomyNavigation members

Provides common operations related to the managed navigation feature, friendly URLs, and the taxonomy navigation cache.

The TaxonomyNavigation type exposes the following members.

Properties

  Name Description
Public propertyStatic member CacheConfig Gets the configuration variables for the managed navigation feature.
Public propertyStatic member CacheStatistics Gets the runtime statistics for the managed navigation feature.

Top

Methods

  Name Description
Public methodStatic member CreateTaxonomySessionForEdit Constructs a TaxonomySession object to be used for editing navigation term sets.
Public methodStatic member FlushAllCacheContents Removes all objects from the taxonomy navigation cache.
Public methodStatic member FlushSiteFromCache Discards the specified SPSite object from the taxonomy navigation cache.
Public methodStatic member FlushTermSetFromCache(SPWeb, NavigationTermSet)
Public methodStatic member FlushTermSetFromCache(SPWeb, TermSet)
Public methodStatic member FlushTermSetFromCache(SPWeb, Guid, Guid) Discards the specified TermSet object from the taxonomy navigation cache.
Public methodStatic member FlushWebFromCache Discards the specified SPWeb object from the taxonomy navigation cache.
Public methodStatic member GetFriendlyUrlsForListItem Returns a list of friendly URLs that use the specified publishing page as their target page.
Public methodStatic member GetNavigationLcidForWeb Returns the language code identifier (LCID) that the taxonomy navigation system will use when it reads the Term object for the specified SPWeb object.
Public methodStatic member GetPageUrlForFriendlyUrl Returns a target page URL if the input URL is a friendly URL.
Public methodStatic member GetTargetForRootFriendlyUrl Returns the target page as a server-relative URL when the specified SPWeb is configured to use a root-friendly URL.
Public methodStatic member GetTermSetForWeb Returns efficiently from the taxonomy navigation cache a read-only instance of a NavigationTermSet object for the specified SPWeb object.
Public methodStatic member GetWebNavigationSettings Returns the navigation settings for the specified SPWeb object as a read-only instance of the WebNavigationSettings class that is efficiently obtained from the taxonomy navigation cache.
Public methodStatic member IsValidTargetForRootFriendlyUrl Returns a value that indicates whether a specified server-relative URL can be used as the Welcome Page for the root-friendly URL.
Public methodStatic member SetCrawlAsFriendlyUrlPage Updates the CrawlAsFriendlyUrlPage flag on the PublishingPage object that is pointed to by the navigationTerm parameter with the specified value.
Public methodStatic member TryParseFriendlyUrl Parses the specified absolute URL or server-relative URL to determine whether it is a friendly URL, a catalog friendly URL, or a root friendly URL.

Top

See also

Reference

TaxonomyNavigation class

Microsoft.SharePoint.Publishing.Navigation namespace