SP.Taxonomy.TaxonomyField.termSetId property (sp.taxonomy)

Gets or sets the GUID of the TermSet object that contains the Term objects used by the current TaxonomyField object.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Taxonomy.TaxonomyField.get_termSetId()
SP.Taxonomy.TaxonomyField.set_termSetId(a)

Return value

The GUID of the TermSet that contains the Term objects used by the current TaxonomyField object.