Share via


TaxonomySession.GetTermSetsByName method

Gets all TermSet objects from all TermStore objects that have a name in the specified language.

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

Syntax

'Declaration
Public Function GetTermSetsByName ( _
    termSetName As String, _
    lcid As Integer _
) As TermSetCollection
'Usage
Dim instance As TaxonomySession
Dim termSetName As String
Dim lcid As Integer
Dim returnValue As TermSetCollection

returnValue = instance.GetTermSetsByName(termSetName, _
    lcid)
public TermSetCollection GetTermSetsByName(
    string termSetName,
    int lcid
)

Parameters

  • termSetName
    Type: System.String

    The name of the TermSet object.

Return value

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

See also

Reference

TaxonomySession class

TaxonomySession members

Microsoft.SharePoint.Client.Taxonomy namespace