TaxonomySession members
Wraps all of the associated TermStore objects for an SPSite object.
The TaxonomySession type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TaxonomySession(SPSite) | Initializes a new instance of a TaxonomySession() object that is scoped to a specific SPSite object. | |
TaxonomySession(SPList, Boolean) | Creates a new session for performing taxonomy operations, using the specified SPList as the context for security permissions. | |
TaxonomySession(SPSite, Boolean) | Initializes a new instance of a TaxonomySession object that is scoped to a specific SPSite object. | |
TaxonomySession(SPWeb, Boolean) | Creates a new session for performing taxonomy operations, using the specified SPWeb as the context for security permissions. |
Top
Properties
Name | Description | |
---|---|---|
DefaultKeywordsTermStore | Gets the TermStore object to be used for keywords | |
DefaultSiteCollectionTermStore | Gets the TermStore object to be used for metadata that are specific to the site collection, such as column-specific TermSet objects. | |
OfflineTermStoreNames | Gets a StringCollection of names of TermStore objects that are currently offline. | |
TermStores | A collection of TermStore objects that are associated with the SPWebApplication object of the current SPSite object. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetTerm | 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. | |
GetTerms([]) | 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. | |
GetTerms(String, Boolean) | Gets from all TermStore objects with a Label object that matches the provided string, the Term objects from all TermSet objects that are not scoped to an SPSite object. | |
GetTerms(String, Int32, Boolean) | Gets Term objects from all of the TermSet objects, which are not scoped to an SPSite object, from all TermStore objects with a Label object in the provided lcid matching the string provided. | |
GetTerms(String, Boolean, StringMatchOption, Int32, Boolean) | Searches Label objects in all working languages, and returns Term objects from all TermSet objects, which are not scoped to an SPSite object, from all TermStore objects with a Label object matching the provided string. | |
GetTerms(String, Int32, Boolean, StringMatchOption, Int32, Boolean, Boolean) | Searches labels in the provided lcid, and returns Term objects from all TermSet objects, which are not scoped to an SPSite object, from all TermStore objects with a Label matching the provided string. | |
GetTermSets([]) | Gets all TermSet objects from all TermStore objects that contain Term objects with matching Label objects for all specified strings. | |
GetTermSets(String, Int32) | Gets all TermSet objects from all TermStore objects that have a name in the specified language. | |
GetTermSets([], Int32) | 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. | |
GetTermsInDefaultLanguage | Searches Label objects in the Microsoft.SharePoint.Taxonomy.TermStore objects’ default language, and returns Term objects that are not scoped to an SPSite object from all TermSet objects, in all TermStore objects that contain a Label object that matches the provided string. | |
GetTermsInWorkingLocale | Searches Label objects in the TermStore working language, and returns Term objects from all TermSet objects, which are not scoped to an SPSite object, from all TermStore objects with a Label matching the provided string. | |
GetTermsWithCustomProperty(String, Boolean) | Gets Term objects from all TermStore objects that have a property with the provided property name. | |
GetTermsWithCustomProperty(String, Int32, Boolean) | Gets Term objects from all TermStore objects that have a property with the provided property name. | |
GetTermsWithCustomProperty(String, String, Boolean) | Gets Term objects from all TermStore objects that have a property with the provided property name and the provided property value. | |
GetTermsWithCustomProperty(String, String, StringMatchOption, Boolean) | Gets Term objects from all TermStore objects that have a property with the provided property name and the property value matching the provided value in the specified way. | |
GetTermsWithCustomProperty(String, String, StringMatchOption, Int32, Boolean) | Gets Term objects from all TermStore objects that have a property with the provided property name and the property value matching the provided value in the specified way. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SyncHiddenList | Syndicates the taxonomy hidden list on the provided SPSite object. | |
ToString | (Inherited from Object.) | |
UpdateCache | Forces the taxonomy cache to communicate with the Managed Metadata Service to check for changes to any taxonomy objects. |
Top