SPChangeQuery.Update Property
Gets or sets a Boolean value that specifies whether object updates are included in the query.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public Property Update As Boolean
Get
Set
'Usage
Dim instance As SPChangeQuery
Dim value As Boolean
value = instance.Update
instance.Update = value
[ClientCallableAttribute]
public bool Update { get; set; }
Property Value
Type: System.Boolean
true to include updates to objects; otherwise, false. The default is false.
Remarks
You can limit the results of the query to update operations on particular objects by setting the corresponding object properties to true. For example, the following code constructs a query for changes that update lists.
Dim query As New SPChangeQuery(False, False)
' object type
query.List = True
' change type
query.Update = True
SPChangeQuery query = new SPChangeQuery(false, false);
// object type
query.List = true;
// change type
query.Update = true;