SP. Объект Taxonomy.TermStore (sp.taxonomy)
Представляет хранилище, содержащее метаданные в дочерние объекты SP. Объект Taxonomy.TermGroup (sp.taxonomy) , SP. Объект Taxonomy.TermSet (sp.taxonomy) объектов и объектов SP. Объект Taxonomy.Term (sp.taxonomy) .
Дата последнего изменения: 9 марта 2015 г.
Область применения: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.Taxonomy.TermStore()
Элементы
Объект TermStore содержит следующие элементы.
Конструктор
Объект TermStore имеет следующий конструктор.
Конструктор |
Описание |
---|---|
Initializes a new instance of the SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
Методы
Объект TermStore содержит следующие методы.
Метод |
Описание |
---|---|
Adds a working language to the SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
|
Commits all updates to the database that have occurred since the last update or rollback. |
|
Creates a new SP. Объект Taxonomy.TermGroup (sp.taxonomy) object in this SP. Объект Taxonomy.TermStore (sp.taxonomy). |
|
Deletes a working language from the SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
|
Gets a list of changes to the SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
|
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. |
|
Returns the associated site collection group for the SP. Сайт object (sp.js) object. |
|
Gets a Term based on its ID. |
|
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. |
|
Gets more than one specified SP. Объект Taxonomy.Term (sp.taxonomy) object from the term store. |
|
Gets more than one specified SP. Метод Taxonomy.TermStore.getTerms (sp.taxonomy) object from the term store. |
|
Retrieves a TermSet object based on a TermSet ID. |
|
Retrieves by name a SP. Объект Taxonomy.TermSetCollection (sp.taxonomy) object. |
|
Retrieves by label a SP. Объект Taxonomy.TermSetCollection (sp.taxonomy) object. |
|
Retrieves by custom property a SP. Объект Taxonomy.TermSetCollection (sp.taxonomy) object. |
|
Gets by custom property a SP. Объект Taxonomy.TermCollection (sp.taxonomy) object. |
|
Discards all updates that have occurred since the last commit or rollback. |
|
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). |
|
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. |
Properties
Объект TermStore имеет следующие свойства.
Свойство |
Описание |
---|---|
Gets the URI of the SP. Сайт object (sp.js) object used as the content type syndication hub, if it exists. |
|
Gets the LCID of the default working language for the current SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
|
Gets a collection of SP. Объект Taxonomy.TermGroup (sp.taxonomy) objects from the term store. |
|
Gets the hash tags term set for a SP. Объект Taxonomy.TermStore (sp.taxonomy) object that contains a set of # tags. |
|
Gets the unique identifier of the SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
|
Indicates whether this term store is currently online (available). |
|
Gets the SP. Объект Taxonomy.TermSet (sp.taxonomy) object for this SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
|
Gets an integer collection of LCIDs. |
|
Gets the name of the current SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |
|
Gets the SP. Объект Taxonomy.TermSet (sp.taxonomy) for this SP. Объект Taxonomy.TermStore (sp.taxonomy) that contains the set of Orphaned Term objects. |
|
Gets the SP. Объект Taxonomy.TermGroup (sp.taxonomy) object for this SP. Объект Taxonomy.TermStore (sp.taxonomy) object that contains the set of System TermSets (Keywords and Orphaned Terms). |
|
Gets the current working language for the SP. Объект Taxonomy.TermStore (sp.taxonomy) object. |