Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetTermSetsWithCustomProperty method (String)

TermStore.GetTermSetsWithCustomProperty method (String)

SharePoint 2013

Searches TermSet objects that have a custom property with the provided name in a TermStore.

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

public TermSetCollection GetTermSetsWithCustomProperty(
	string customPropertyName


Type: System.String

The name of the custom property.

Return value

Type: Microsoft.SharePoint.Taxonomy.TermSetCollection
A collection of TermSet objects.

The search results are returned directly from the TermStore. The TermStore may not be in sync with changes that have been made but not yet committed.

© 2015 Microsoft