Share via


TaxonomyClientService.GetKeywordTermsByGuids Method

Gets Term objects from the TermStore by GUID.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetKeywordTermsByGuids ( _
    termIds As String, _
    lcid As Integer _
) As String
'Usage
Dim instance As TaxonomyClientService
Dim termIds As String
Dim lcid As Integer
Dim returnValue As String

returnValue = instance.GetKeywordTermsByGuids(termIds, _
    lcid)
[WebMethodAttribute]
public string GetKeywordTermsByGuids(
    string termIds,
    int lcid
)

Parameters

  • lcid
    Type: System.Int32

    LCID of language labels will be returned in.

Return Value

Type: System.String
Returns all Terms requested serialized as an XML structure.

Exceptions

Exception Condition
TermStoreOperationException

Thrown if a Term cannot be found and 1 or more TermStore objects is currently offline.

ArgumentException

Thrown if no Term IDs are passed into the function.

Remarks

Term IDs must be passed in as GUIDs contained in xml nodes.

The serialization of the result as well as parameters is fully described in the protocol document MS-EMMWS.

See Also

Reference

TaxonomyClientService Class

TaxonomyClientService Members

Microsoft.SharePoint.Taxonomy.WebServices Namespace