SP. Объект Taxonomy.TaxonomySession (sp.taxonomy)
Переносит все связанные объекты банк терминов, используемый для семейства веб-сайтов.
Дата последнего изменения: 9 марта 2015 г.
Область применения: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.Taxonomy.TaxonomySession()
Элементы
Объект TaxonomySession содержит следующие элементы.
Конструктор
Объект TaxonomySession имеет следующий конструктор.
Конструктор |
Описание |
---|---|
Initializes a new instance of the SP. Объект Taxonomy.TaxonomySession (sp.taxonomy) object. |
Методы
Объект TaxonomySession содержит следующие методы.
Метод |
Описание |
---|---|
Gets the TermStore object to be used for keywords. |
|
Gets the TermStore object to be used for metadata that are specific to the site collection, such as column-specific TermSet objects. |
|
This method retrieves a TaxonomySession object for performing taxonomy-related operations. |
|
Gets a Term object that is based on Term IDs. If the current Term belongs to multiple TermSet objects, it will arbitrarily return the Term from one of the TermSet objects. |
|
Gets Term objects for the current TaxonomySession object. |
|
Gets a set of Term objects based on Term IDs. If a Term is part of more than one TermSet object, it will arbitrarily return the Term object from one of the TermSet objects. |
|
Gets all TermSet objects from all TermStore objects that have a name in the specified language. |
|
Gets all of the TermSet objects from all of the TermStore objects that contain Term objects with matching LCID specific labels for all specified strings. |
|
Searches Label objects in the TermStore objects’ default language, and returns Term objects that are not scoped scoped to an Site object from all TermSet objects, in all TermStore objects that contain a Label object that matches the provided string. |
|
Searches Label objects in the TermStore working language, and returns Term objects from all TermSet objects, which are not scoped to an SP. Сайт object (sp.js) object, from all TermStore objects with a Label matching the provided string. |
|
Gets Term objects with custom properties for the current TaxonomySession object. |
|
Forces the taxonomy cache to communicate with the Managed Metadata Service to check for changes to any taxonomy objects. |
Properties
Объект TaxonomySession имеет следующие свойства.
Свойство |
Описание |
---|---|
Gets a StringCollection of names of TermStore objects that are currently offline. |
|
A collection of TermStore objects that are associated with the SPWebApplication object of the current SPSite object. |