Compartilhar via


TermStore.GetChanges Method (DateTime, ChangedItemType, ChangedOperationType)

Gets a collection of ChangedItem objects that represent changes to this TermStore since a specified time, restricted by item type and operation type.

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

Syntax

'Declaration
Public Function GetChanges ( _
    startTime As DateTime, _
    itemType As ChangedItemType, _
    operationType As ChangedOperationType _
) As ChangedItemCollection
'Usage
Dim instance As TermStore
Dim startTime As DateTime
Dim itemType As ChangedItemType
Dim operationType As ChangedOperationType
Dim returnValue As ChangedItemCollection

returnValue = instance.GetChanges(startTime, _
    itemType, operationType)
public ChangedItemCollection GetChanges(
    DateTime startTime,
    ChangedItemType itemType,
    ChangedOperationType operationType
)

Parameters

  • startTime
    Type: System.DateTime

    A UTC time indicating the earliest change to be included in the result collection

Return Value

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

Remarks

The changes returned in the collection include changes in the TermStore and its child Group, TermSet and Term objects, unless the ChangedItemType object or the [ChangedOperationType] object restrict some of these items from being returned. The collection returned may be empty.

See Also

Reference

TermStore Class

TermStore Members

GetChanges Overload

Microsoft.SharePoint.Taxonomy Namespace

ChangedItemType

ChangedOperationType

GetChanges(DateTime)

GetChanges(DateTime, ChangedItemType, ChangedOperationType)

GetChanges(TimeSpan)