WebNavigationSettings.Update method

Writes new navigation settings to the Web object that was passed to the #ctor(Web) constructor, possibly also updating any associated NavigationTermSet objects.

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

Syntax

'Declaration
Public Sub Update ( _
    taxonomySession As TaxonomySession _
)
'Usage
Dim instance As WebNavigationSettings
Dim taxonomySession As TaxonomySession

instance.Update(taxonomySession)
public void Update(
    TaxonomySession taxonomySession
)

Parameters

Remarks

If managed navigation is being enabled or disabled, or a different NavigationTermSet object has been specified, then the affected TermSet objects are also updated to indicate whether they are attached to the referencing Web object. For newly selected term sets, the IsNavigationTermSet flag will be set to true, and the AvailableForTagging() flag will be set to false.

If the optional TaxonomySession parameter is omitted, then a new TaxonomySession object is automatically constructed. Automatically constructing the TaxonomySession object may increase the likelihood of save conflict errors; for example, if other TaxonomySession objects are simultaneously accessing the same TermSet.

See also

Reference

WebNavigationSettings class

WebNavigationSettings members

Microsoft.SharePoint.Client.Publishing.Navigation namespace