Export (0) Print
Expand All

TermStore class

Represents a store that contains metadata within child Group objects, TermSet objects, and Term objects.

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.Taxonomy.TermStore

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assemblies:   Microsoft.SharePoint.Client.Taxonomy.Silverlight (in Microsoft.SharePoint.Client.Taxonomy.Silverlight.dll);  Microsoft.SharePoint.Client.Taxonomy.Phone (in Microsoft.SharePoint.Client.Taxonomy.Phone.dll)  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)

public sealed class TermStore : ClientObject

A TermStore contains zero or more Group objects, which are used to organize Terms within TermSets. Access the groups through the Groups property.

The TermStore class also provides methods for creating new child Group objects, getting and setting TermStore Administrator permissions on the term store, and checking permissions. Additionally, it provides properties that are used to get and set values of the TermStore object such as the set of working languages, and access to the keyword and orphaned term TermSet objects.

Use methods of the the TermStore class such as the GetTerms(String, Boolean) and GetTermSets(String, Int32) to search for and get TermSet and Term objects across all child groups

Finally, the TermStore provides the CommitAll() method and the RollbackAll() method to commit or roll back changes to the database These methods are the only way to persist changes to the database when updates are made in child objects such as Group, TermSet, and Term.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft