Group.GetTermSetsWithCustomProperty Group.GetTermSetsWithCustomProperty Group.GetTermSetsWithCustomProperty Method

Definition

Overloads

GetTermSetsWithCustomProperty(String, String, StringMatchOption) GetTermSetsWithCustomProperty(String, String, StringMatchOption)

Searches TermSet objects that have a custom property with the specified name and value in the Group object.

GetTermSetsWithCustomProperty(String, String, StringMatchOption, Int32) GetTermSetsWithCustomProperty(String, String, StringMatchOption, Int32)

Searches TermSet objects that have a custom property with the specified name and value in the Group object.

GetTermSetsWithCustomProperty(String) GetTermSetsWithCustomProperty(String) GetTermSetsWithCustomProperty(String)

Searches TermSet objects that have a custom property with the specified name in the Group object.

GetTermSetsWithCustomProperty(String, String) GetTermSetsWithCustomProperty(String, String) GetTermSetsWithCustomProperty(String, String)

Searches TermSet objects that have a custom property with the specified name and value in the Group object.

GetTermSetsWithCustomProperty(String, String, StringMatchOption) GetTermSetsWithCustomProperty(String, String, StringMatchOption)

Searches TermSet objects that have a custom property with the specified name and value in the Group object.

public:
 Microsoft::SharePoint::Taxonomy::TermSetCollection ^ GetTermSetsWithCustomProperty(System::String ^ customPropertyName, System::String ^ customPropertyValue, Microsoft::SharePoint::Taxonomy::StringMatchOption stringMatchOption);
public Microsoft.SharePoint.Taxonomy.TermSetCollection GetTermSetsWithCustomProperty (string customPropertyName, string customPropertyValue, Microsoft.SharePoint.Taxonomy.StringMatchOption stringMatchOption);
Parameters
customPropertyName
String String String

The name of the custom property.

customPropertyValue
String String String

The value of the customer property.

stringMatchOption
StringMatchOption StringMatchOption StringMatchOption

The string matching options for the property value.

Returns

A collection of TermSet objects that match the values of the specified parameters.

Remarks

The search results are directly from term store. It may not be in sync with whatever changes that has been made but not committed. For better results, call CommitAll() or Microsoft.SharePoint.Taxonomy.TermStore.RollBackAll before you call this method.

GetTermSetsWithCustomProperty(String, String, StringMatchOption, Int32) GetTermSetsWithCustomProperty(String, String, StringMatchOption, Int32)

Searches TermSet objects that have a custom property with the specified name and value in the Group object.

public:
 Microsoft::SharePoint::Taxonomy::TermSetCollection ^ GetTermSetsWithCustomProperty(System::String ^ customPropertyName, System::String ^ customPropertyValue, Microsoft::SharePoint::Taxonomy::StringMatchOption stringMatchOption, int resultCollectionSize);
public Microsoft.SharePoint.Taxonomy.TermSetCollection GetTermSetsWithCustomProperty (string customPropertyName, string customPropertyValue, Microsoft.SharePoint.Taxonomy.StringMatchOption stringMatchOption, int resultCollectionSize);
Parameters
customPropertyName
String String String

The name of the custom property.

customPropertyValue
String String String

The value of the custom property.

stringMatchOption
StringMatchOption StringMatchOption StringMatchOption

The string matching options for the property value.

resultCollectionSize
Int32 Int32 Int32

The maximum number of objects in the returned collection.

Returns

A collection of TermSet objects that match the values of the specified parameters.

Remarks

The search results are directly from term store. It may not be in sync with whatever changes that has been made but not committed. For better results, call CommitAll() or Microsoft.SharePoint.Taxonomy.TermStore.RollBackAll before you call this method.

GetTermSetsWithCustomProperty(String) GetTermSetsWithCustomProperty(String) GetTermSetsWithCustomProperty(String)

Searches TermSet objects that have a custom property with the specified name in the Group object.

public:
 Microsoft::SharePoint::Taxonomy::TermSetCollection ^ GetTermSetsWithCustomProperty(System::String ^ customPropertyName);
public Microsoft.SharePoint.Taxonomy.TermSetCollection GetTermSetsWithCustomProperty (string customPropertyName);
Public Function GetTermSetsWithCustomProperty (customPropertyName As String) As TermSetCollection
Parameters
customPropertyName
String String String

The name of the custom property.

Returns

A collection of TermSet objects that match the value of the specified parameter.

Remarks

The search results are directly from term store. It may not be in sync with whatever changes that has been made but not committed. For better results, call CommitAll() or Microsoft.SharePoint.Taxonomy.TermStore.RollBackAll before you call this method.

GetTermSetsWithCustomProperty(String, String) GetTermSetsWithCustomProperty(String, String) GetTermSetsWithCustomProperty(String, String)

Searches TermSet objects that have a custom property with the specified name and value in the Group object.

public:
 Microsoft::SharePoint::Taxonomy::TermSetCollection ^ GetTermSetsWithCustomProperty(System::String ^ customPropertyName, System::String ^ customPropertyValue);
public Microsoft.SharePoint.Taxonomy.TermSetCollection GetTermSetsWithCustomProperty (string customPropertyName, string customPropertyValue);
Public Function GetTermSetsWithCustomProperty (customPropertyName As String, customPropertyValue As String) As TermSetCollection
Parameters
customPropertyName
String String String

The name of the custom property.

customPropertyValue
String String String

The value of the custom property.

Returns

A collection of TermSet objects that match the values of the specified parameters.

Remarks

The search results are directly from term store. It may not be in sync with whatever changes that has been made but not committed. For better results, call CommitAll() or Microsoft.SharePoint.Taxonomy.TermStore.RollBackAll before you call this method.

Applies to