SP.Taxonomy.TaxonomySession.getTermsInDefaultLanguage Method (sp.taxonomy)
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.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Taxonomy.TaxonomySession.getTermsInDefaultLanguage(h, e, d, c, f, g)
Return value
SP.Taxonomy.TermCollection
Parameters
h
e
d
c
f
g
termLabel
String to search.defaultLabelOnly
yes if it only searches default Label objects. no if it searches all Label objects.stringMatchOption
How the string is matched.resultCollectionSize
The maximum number of Term objects to return from each TermStore object.trimUnavailable
yes if it trims the unavailable Term objects from the result collection; no if it includes the unavailable Term objects in the result collection.trimDeprecated
yes if it trims the deprecated Term objects from the result collection; no if it includes the deprecated Term objects in the result collection.