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
)

参数

返回值

类型: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 空引用(无 在 Visual Basic 中).

另请参阅

引用

List 类

List 成员

Microsoft.SharePoint.Client 命名空间