SP. Objeto Taxonomy.TaxonomySession (sp.taxonomy)
Encapsula todos los objetos TermStore asociados para una colección de sitios.
Última modificación: lunes, 09 de marzo de 2015
Hace referencia a: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.Taxonomy.TaxonomySession()
Miembros
El objeto TaxonomySession tiene los siguientes miembros.
Constructor
El objeto TaxonomySession tiene el siguiente constructor.
Constructor |
Descripción |
---|---|
Initializes a new instance of the SP. Objeto Taxonomy.TaxonomySession (sp.taxonomy) object. |
Métodos
El objeto TaxonomySession tiene los siguientes métodos.
Método |
Descripción |
---|---|
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. Objeto de sitio (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. |
Propiedades
El objeto TaxonomySession tiene las siguientes propiedades.
Propiedad |
Descripción |
---|---|
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. |