Share via


Group.GetChanges method (DateTime, ChangedItemType)

Gets a collection of ChangedItem instances that represent changes to the current Group object since a specified time, restricted by item 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 _
) As ChangedItemCollection
'Usage
Dim instance As Group
Dim startTime As DateTime
Dim itemType As ChangedItemType
Dim returnValue As ChangedItemCollection

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

Parameters

  • startTime
    Type: System.DateTime

    A UTC time indicating the earliest change to return

Return value

Type: Microsoft.SharePoint.Taxonomy.ChangedItemCollection
A collection of ChangedItem instances that represent changes to the current Group since the specified time.

Remarks

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

See also

Reference

Group class

Group members

GetChanges overload

Microsoft.SharePoint.Taxonomy namespace

ChangedItemType

GetChanges(DateTime)

GetChanges(DateTime, ChangedItemType, ChangedOperationType)