TermSet.GetChanges Method (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.
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 TermSet
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.DateTimeA UTC time indicating the earliest changeto be included in the result collection
itemType
Type: Microsoft.SharePoint.Taxonomy.ChangedItemTypeThe type of ChangeItem objects to include in the returned collection
operationType
Type: Microsoft.SharePoint.Taxonomy.ChangedOperationTypeThe types of operations to include in the returned collection
Return Value
Type: Microsoft.SharePoint.Taxonomy.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.
See Also
Reference
Microsoft.SharePoint.Taxonomy Namespace
GetChanges(DateTime, ChangedItemType, ChangedOperationType)