SP へTaxonomy.TermStore 方法 (sp.taxonomy)

TermStoreオブジェクトでは、次の方法があります。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

メソッド

メソッド

説明

addLanguage

Adds a working language to the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

commitAll

Commits all updates to the database that have occurred since the last update or rollback.

createGroup

Creates a new SP へTaxonomy.TermGroup オブジェクト (sp.taxonomy) object in this SP へTaxonomy.TermStore オブジェクト (sp.taxonomy).

deleteLanguage

Deletes a working language from the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

getChanges

Gets a list of changes to the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

getGroup

Represents a store that contains metadata within child SP へTaxonomy.TermGroup オブジェクト (sp.taxonomy) objects, SP へTaxonomy.TermSet オブジェクト (sp.taxonomy) objects, and SP へTaxonomy.Term オブジェクト (sp.taxonomy) objects.

getSiteCollectionGroup

Returns the associated site collection group for the SP へサイト オブジェクト (sp.js) object.

getTerm

Gets a Term based on its ID.

getTermInTermSet

Gets a SP へTaxonomy.Term オブジェクト (sp.taxonomy) object that is based on the ID of the SP へTaxonomy.TermSet オブジェクト (sp.taxonomy) object and the ID of the term.

getTerms

Gets more than one specified SP へTaxonomy.Term オブジェクト (sp.taxonomy) object from the term store.

getTermsById

Gets more than one specified SP へTaxonomy.TermStore.getTerms 方法 (sp.taxonomy) object from the term store.

getTermSet

Retrieves a TermSet object based on a TermSet ID.

getTermSetsByName

Retrieves by name a SP へTaxonomy.TermSetCollection オブジェクト (sp.taxonomy) object.

getTermSetsByTermLabel

Retrieves by label a SP へTaxonomy.TermSetCollection オブジェクト (sp.taxonomy) object.

getTermSetsWithCustomProperty

Retrieves by custom property a SP へTaxonomy.TermSetCollection オブジェクト (sp.taxonomy) object.

getTermsWithCustomProperty

Gets by custom property a SP へTaxonomy.TermCollection オブジェクト (sp.taxonomy) object.

rollbackAll

Discards all updates that have occurred since the last commit or rollback.

updateCache

Forces the taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a SP へTaxonomy.TermStore オブジェクト (sp.taxonomy).

updateUsedTermsOnSite

This method makes sure that the current SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object is aware of all child SP へTaxonomy.Term オブジェクト (sp.taxonomy) objects that are used in the requested site collection.