List.GetChanges method

Returns the collection of changes from the change log that have occurred within the list, based on the specified query.

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

Syntax

'Declaration
Public Function GetChanges ( _
    query As ChangeQuery _
) As ChangeCollection
'Usage
Dim instance As List
Dim query As ChangeQuery
Dim returnValue As ChangeCollection

returnValue = instance.GetChanges(query)
public ChangeCollection GetChanges(
    ChangeQuery query
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ChangeCollection
Returns a ChangeCollection instance representing the collection of changes from the change log that have occurred within the list, based on the specified query.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Change token is not valid for this list. Error code: -2130575173. Change token is not valid. Error code: -2130575172.

[Microsoft.SharePoint.SPInvalidChangeTokenException]

Change token is not valid. Error code: -2130575172.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace