TaxonomySession.GetTermSets Method (String, Int32)
Gets all TermSet objects from all TermStore objects that have a name inthe 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.Stringname of the TermSet object
lcid
Type: System.Int32LCID of the language
Return Value
Type: Microsoft.SharePoint.Taxonomy.TermSetCollection
A collection of TermSet objects