SP.Publishing.Navigation.NavigationTermSetView.excludeTermsByProvider property (sp.publishing)

Gets or sets a value that indicates whether SP.Publishing.Navigation.NavigationTerm object (sp.publishing) objects are trimmed if the provider indicated by the SP.Publishing.Navigation.NavigationTermSetView.siteMapProviderName property (sp.publishing) property is one of the providers in the excluded providers collection.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Publishing.Navigation.NavigationTermSetView.get_excludeTermsByProvider()
SP.Publishing.Navigation.NavigationTermSetView.set_excludeTermsByProvider(value)

Return value

A Boolean value that indicates whether NavigationTerm objects are trimmed.