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

Gets the identifier of the TermSet object to which the Term object belongs.

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

var value = SP.Taxonomy.ChangedTerm.get_termSetId()