TaxonomyClientService.GetTermSets method

Gets a TermSet object and all its Term objects if the client TimeStamp is older than the server TimeStamp on the TermSet object, or if the client version is older than the server version

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetTermSets ( _
    sharedServiceIds As String, _
    termSetIds As String, _
    lcid As Integer, _
    clientTimeStamps As String, _
    clientVersions As String, _
    <OutAttribute> ByRef serverTermSetTimeStampXml As String _
) As String
'Usage
Dim instance As TaxonomyClientService
Dim sharedServiceIds As String
Dim termSetIds As String
Dim lcid As Integer
Dim clientTimeStamps As String
Dim clientVersions As String
Dim serverTermSetTimeStampXml As String
Dim returnValue As String

returnValue = instance.GetTermSets(sharedServiceIds, _
    termSetIds, lcid, clientTimeStamps, _
    clientVersions, serverTermSetTimeStampXml)
[WebMethodAttribute]
public string GetTermSets(
    string sharedServiceIds,
    string termSetIds,
    int lcid,
    string clientTimeStamps,
    string clientVersions,
    out string serverTermSetTimeStampXml
)

Parameters

  • sharedServiceIds
    Type: System.String

    Collection of TermStore IDs that TermSets belong to.

  • lcid
    Type: System.Int32

    LCID of language that labels will be returned in.

  • clientTimeStamps
    Type: System.String

    Collection of TimeStamps which are the last edit time of TermSets stored on the client.

  • clientVersions
    Type: System.String

    Collection of versions of the server that each TermSet was downloaded from (always 1 unless the client doesn't have the TermSet, then it is 0).

  • serverTermSetTimeStampXml
    Type: System.String

    Returns the collection of TimeStamps of the last edit time of each TermSet.

Return value

Type: System.String
An XML string which includes the TermSet and all its Term objects. If the client TimeStamp is same as the last edit server timestamp then a placeholder is returned.

Remarks

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