List.GetChanges-Methode
Returns the collection of changes from the change log that have occurred within the list, based on the specified query.
Namespace: Microsoft.SharePoint.Client
Assemblys: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll) 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
)
Parameter
query
Typ: Microsoft.SharePoint.Client.ChangeQuerySpecifies the query.
Rückgabewert
Typ: 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.
Ausnahmen
Ausnahme | Bedingung |
---|---|
[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. |
Hinweise
It must not be ein Nullverweis (Nothing in Visual Basic).