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)

Public Sub UpdateUsedTermsOnSite ( _
	site As SPSite _
Dim instance As TermStore
Dim site As SPSite



Type: Microsoft.SharePoint.SPSite

The site collection to check against for Term usage.

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.