Compartir a través de


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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
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_)
[RemoteAttribute]
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