Метод List.GetChanges
Returns the collection of changes from the change log that have occurred within the list, based on the specified query.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Function GetChanges ( _
query As ChangeQuery _
) As ChangeCollection
'Применение
Dim instance As List
Dim query As ChangeQuery
Dim returnValue As ChangeCollection
returnValue = instance.GetChanges(query)
public ChangeCollection GetChanges(
ChangeQuery query
)
Параметры
query
Тип: Microsoft.SharePoint.Client.ChangeQuerySpecifies the query.
Возвращаемое значение
Тип: 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.
Исключения
Исключение | Условие |
---|---|
[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. |
Замечания
It must not be пустая ссылка (Nothing в Visual Basic).