Partager via


List.GetChanges - Méthode

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Function GetChanges ( _
    query As ChangeQuery _
) As ChangeCollection
'Utilisation
Dim instance As List
Dim query As ChangeQuery
Dim returnValue As ChangeCollection

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

Paramètres

Valeur renvoyée

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.

Remarques

It must not be une référence Null (Rien dans Visual Basic).

Voir aussi

Référence

List classe

List - Membres

Microsoft.SharePoint.Client - Espace de noms