Compartilhar via


TermStore.GetChanges Method (TimeSpan)

Gets a collection of ChangedItem objects that represent changes to this TermStore object in a recent span of time.

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

Syntax

'Declaration
Public Function GetChanges ( _
    sinceTimeAgo As TimeSpan _
) As ChangedItemCollection
'Usage
Dim instance As TermStore
Dim sinceTimeAgo As TimeSpan
Dim returnValue As ChangedItemCollection

returnValue = instance.GetChanges(sinceTimeAgo)
public ChangedItemCollection GetChanges(
    TimeSpan sinceTimeAgo
)

Parameters

  • sinceTimeAgo
    Type: System.TimeSpan

    A TimeSpan structure that indicates how long ago from the current time the changes should retrieved.

Return Value

Type: Microsoft.SharePoint.Taxonomy.ChangedItemCollection
A collection of ChangedItem objects that represent changes to this TermStore in a recent span of time.

Remarks

The changes returned in the collection include changes in the TermStore and its child Group, TermSet and Term objects.The collection returned may be empty.

See Also

Reference

TermStore Class

TermStore Members

GetChanges Overload

Microsoft.SharePoint.Taxonomy Namespace

GetChanges(DateTime)

GetChanges(DateTime, ChangedItemType)

GetChanges(DateTime, ChangedItemType, ChangedOperationType)