Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TaxonomyField.TermSetId property

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

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

public Guid TermSetId { get; set; }

Property value

Type: System.Guid
The GUID of the [TermSet] that contains the [Term] objects used by the current TaxonomyField object.

If the SPSite object, the TaxonomySession object, the TermStore object, or TermSet object cannot be found, the property returns a Empty object.

Show:
© 2015 Microsoft