TermSet.GetChanges Method

Definition

Overloads

GetChanges(DateTime)

Gets a collection of ChangedItem objects that represent changes to the current TermSet since a specified time.

GetChanges(DateTime, ChangedItemType)

Gets a collection of ChangedItem objects that represent changes to the current TermSet object since a specified time, restricted by item type.

GetChanges(DateTime, ChangedItemType, ChangedOperationType)

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

GetChanges(DateTime)

Gets a collection of ChangedItem objects that represent changes to the current TermSet since a specified time.

public:
 Microsoft::SharePoint::Taxonomy::ChangedItemCollection ^ GetChanges(DateTime startTime);
public Microsoft.SharePoint.Taxonomy.ChangedItemCollection GetChanges (DateTime startTime);
member this.GetChanges : DateTime -> Microsoft.SharePoint.Taxonomy.ChangedItemCollection
Public Function GetChanges (startTime As DateTime) As ChangedItemCollection

Parameters

startTime
DateTime

A UTC time indicating the earliest changeto be included in the result collection

Returns

ChangedItemCollection

A collection of ChangedItem objects that represent changes to the current TermSet since a specified time.

Remarks

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

Applies to

GetChanges(DateTime, ChangedItemType)

Gets a collection of ChangedItem objects that represent changes to the current TermSet object since a specified time, restricted by item type.

public:
 Microsoft::SharePoint::Taxonomy::ChangedItemCollection ^ GetChanges(DateTime startTime, Microsoft::SharePoint::Taxonomy::ChangedItemType itemType);
public Microsoft.SharePoint.Taxonomy.ChangedItemCollection GetChanges (DateTime startTime, Microsoft.SharePoint.Taxonomy.ChangedItemType itemType);
member this.GetChanges : DateTime * Microsoft.SharePoint.Taxonomy.ChangedItemType -> Microsoft.SharePoint.Taxonomy.ChangedItemCollection
Public Function GetChanges (startTime As DateTime, itemType As ChangedItemType) As ChangedItemCollection

Parameters

startTime
DateTime

A UTC time indicating the earliest changeto be included in the result collection

itemType
ChangedItemType

The type of ChangeItem objects to include in the returned collection.

Returns

ChangedItemCollection

A collection of ChangedItem objects that represent changes to the current TermSet since a specified time.

Remarks

The changes returned in the collection include changes in the TermSet and its child Term objects, unless the ChangedItemType object restricts some items from being returned.The collection returned may be empty.

Applies to

GetChanges(DateTime, ChangedItemType, ChangedOperationType)

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

public:
 Microsoft::SharePoint::Taxonomy::ChangedItemCollection ^ GetChanges(DateTime startTime, Microsoft::SharePoint::Taxonomy::ChangedItemType itemType, Microsoft::SharePoint::Taxonomy::ChangedOperationType operationType);
public Microsoft.SharePoint.Taxonomy.ChangedItemCollection GetChanges (DateTime startTime, Microsoft.SharePoint.Taxonomy.ChangedItemType itemType, Microsoft.SharePoint.Taxonomy.ChangedOperationType operationType);
member this.GetChanges : DateTime * Microsoft.SharePoint.Taxonomy.ChangedItemType * Microsoft.SharePoint.Taxonomy.ChangedOperationType -> Microsoft.SharePoint.Taxonomy.ChangedItemCollection
Public Function GetChanges (startTime As DateTime, itemType As ChangedItemType, operationType As ChangedOperationType) As ChangedItemCollection

Parameters

startTime
DateTime

A UTC time indicating the earliest changeto be included in the result collection

itemType
ChangedItemType

The type of ChangeItem objects to include in the returned collection

operationType
ChangedOperationType

The types of operations to include in the returned collection

Returns

ChangedItemCollection

A collection of ChangedItem objects that represent changes to the TermSet object sincea specified time.

Remarks

The changes returned in the collection include changes in the TermSet and its child Term objects, unless the ChangedItemType object restricts some items from being returned.The collection returned may be empty.

Applies to