Share via


SP.Navigation.useShared Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether the site inherits navigation.

var value = SP.Navigation.get_useShared(); 
SP.Navigation.set_useShared(value);

Property Value

Type: Boolean

Applies To

SP.Navigation Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    Set to true on the root site. Error code: -2146232832.

See Also

Reference

SP.Navigation Methods

SP.Navigation Properties

SP Namespace