TermStore.GetChanges Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetChanges(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. |
GetChanges(DateTime, ChangedItemType) |
Gets a collection of ChangedItem objects that represent changes to this TermStore since a specified time, restricted by item type. |
GetChanges(TimeSpan) |
Gets a collection of ChangedItem objects that represent changes to this Microsoft.SharePoint.TermStore object in a recent span of time. |
GetChanges(DateTime) |
Gets a collection of ChangedItem objects that represent changes to this TermStore since a specified time. |
GetChanges(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.
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 change to be included in the result collection
- itemType
- ChangedItemType
Indicates the type of ChangedItem objects to return.
- operationType
- ChangedOperationType
Indicates the types of operations to return
Returns
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.
Applies to
GetChanges(DateTime, ChangedItemType)
Gets a collection of ChangedItem objects that represent changes to this TermStore 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 change to be included in the result collection
- itemType
- ChangedItemType
Indicates the type of ChangeItem objects to include in the returned collection
Returns
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 restricts some of these items from being returned. The collection returned may be empty.
Applies to
GetChanges(TimeSpan)
Gets a collection of ChangedItem objects that represent changes to this Microsoft.SharePoint.TermStore object in a recent span of time.
public:
Microsoft::SharePoint::Taxonomy::ChangedItemCollection ^ GetChanges(TimeSpan sinceTimeAgo);
public Microsoft.SharePoint.Taxonomy.ChangedItemCollection GetChanges (TimeSpan sinceTimeAgo);
member this.GetChanges : TimeSpan -> Microsoft.SharePoint.Taxonomy.ChangedItemCollection
Public Function GetChanges (sinceTimeAgo As TimeSpan) As ChangedItemCollection
Parameters
- sinceTimeAgo
- TimeSpan
A TimeSpan structure that indicates how long ago from the current time the changes should retrieved.
Returns
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.
Applies to
GetChanges(DateTime)
Gets a collection of ChangedItem objects that represent changes to this TermStore 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 change to be included in the result collection
Returns
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 objects, and Term objects. The collection returned may be empty.
Applies to
Feedback
Submit and view feedback for