TaxonomySession.GetTermSets method (String, Int32)

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

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

Syntax

'Declaration
Public Function GetTermSets ( _
    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.GetTermSets(termSetName, _
    lcid)
public TermSetCollection GetTermSets(
    string termSetName,
    int lcid
)

Parameters

  • termSetName
    Type: System.String

    The name of the TermSet object.

Return value

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

See also

Reference

TaxonomySession class

TaxonomySession members

GetTermSets overload

Microsoft.SharePoint.Taxonomy namespace