/// <summary> /// The GetListItemChanges operation is used to retrieve the list items that have been inserted or updated /// since the specified date and time and matching the specified filter criteria. /// </summary> /// <param name="listName">The name of the list from which the list item changes will be got</param> /// <param name="viewFields">Indicates which fields of the list item SHOULD be returned</param> /// <param name="since">The date and time to start retrieving changes in the list /// If the parameter is null, protocol server should return all list items /// If the date that is passed in is not in UTC format, protocol server will use protocol server's local time zone and convert it to UTC time</param> /// <param name="contains">Restricts the results returned by giving a specific value to be searched for in the specified list item field</param> /// <returns>Return the list item change result</returns> public GetListItemChangesResponseGetListItemChangesResult GetListItemChanges(string listName, CamlViewFields viewFields, string since, CamlContains contains) { if (null == this.listsProxy) { throw new InvalidOperationException("The Proxy instance is NULL, need to initialize the adapter"); } GetListItemChangesResponseGetListItemChangesResult result = null; result = this.listsProxy.GetListItemChanges(listName, viewFields, since, contains); this.VerifyTransportRequirement(); return(result); }
/// <summary> /// The GetListItemChangesSinceToken operation is used to return changes made to a specified list after the event /// expressed by the change token, if specified, or to return all the list items in the list. /// </summary> /// <param name="listName">The name of the list from which version collection will be got</param> /// <param name="viewName">The GUID refers to a view of the list</param> /// <param name="query">The query to determine which records from the list are to be /// returned and the order in which they will be returned</param> /// <param name="viewFields">Specifies which fields of the list item will be returned</param> /// <param name="rowLimit">Indicate the maximum number of rows of data to return</param> /// <param name="queryOptions">Specifies various options for modifying the query</param> /// <param name="changeToken">Assigned a string comprising a token returned by a previous /// call to this operation.</param> /// <param name="contains">Specifies a value to search for</param> /// <returns>A return value represent the list item changes since the specified token</returns> public GetListItemChangesSinceTokenResponseGetListItemChangesSinceTokenResult GetListItemChangesSinceToken(string listName, string viewName, GetListItemChangesSinceTokenQuery query, CamlViewFields viewFields, string rowLimit, CamlQueryOptions queryOptions, string changeToken, CamlContains contains) { if (null == this.listsProxy) { throw new InvalidOperationException("The Proxy instance is NULL, need to initialize the adapter"); } GetListItemChangesSinceTokenResponseGetListItemChangesSinceTokenResult result = null; result = this.listsProxy.GetListItemChangesSinceToken(listName, viewName, query, viewFields, rowLimit, queryOptions, changeToken, contains); this.VerifyTransportRequirement(); this.VerifyGetListItemChangesSinceTokenResponse(result); return(result); }