Compartilhar via


TermStore.UpdateUsedTermsOnSite Method

This method makes sure that the current TermStore object is aware of all child Term object that are used in the requested site collection.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public Sub UpdateUsedTermsOnSite ( _
    site As SPSite _
)
'Usage
Dim instance As TermStore
Dim site As SPSite

instance.UpdateUsedTermsOnSite(site)
public void UpdateUsedTermsOnSite(
    SPSite site
)

Parameters

Remarks

Generally there should be no need to explicitly call this method. However, if changes to terms are not being propogated to a specific site, calling UpdateUsedTermsOnSite(SPSite) and then calling ResyncHiddenList(SPSite) will update the site.

The TermStore tracks which Term objects are being used by the SPSite object for ResyncHiddenList(SPSite) to function correctly.

See Also

Reference

TermStore Class

TermStore Members

Microsoft.SharePoint.Taxonomy Namespace

ResyncHiddenList(SPSite)