Class ChangeQueryOptions
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Defines a query that is performed against the change log.
public class ChangeQueryOptions
- Inheritance
-
ChangeQueryOptions
- Inherited Members
Constructors
ChangeQueryOptions()
Initializes a new instance of the ChangeQueryOptions class.
public ChangeQueryOptions()
ChangeQueryOptions(bool, bool)
Initializes a new instance of the ChangeQueryOptions class.
public ChangeQueryOptions(bool allChangeObjectTypes, bool allChangeTypes)
Parameters
allChangeObjectTypesboolIf
true, get changes for all change object types.allChangeTypesboolIf
true, get all change types.
Properties
Activity
Specifies whether activity is included in the query.
public bool Activity { get; set; }
Property Value
Add
Gets or sets a value that specifies whether add changes are included in the query.
public bool Add { get; set; }
Property Value
Alert
Gets or sets a value that specifies whether changes to alerts are included in the query.
public bool Alert { get; set; }
Property Value
ChangeTokenEnd
Gets or sets a value that specifies the end date and end time for changes that are returned through the query.
public IChangeToken ChangeTokenEnd { get; set; }
Property Value
ChangeTokenStart
Gets or sets a value that specifies the start date and start time for changes that are returned through the query. Changes after this change token are returned.
public IChangeToken ChangeTokenStart { get; set; }
Property Value
ContentType
Gets or sets a value that specifies whether changes to content types are included in the query.
public bool ContentType { get; set; }
Property Value
DeleteObject
Gets or sets a value that specifies whether delete changes are included in the query.
public bool DeleteObject { get; set; }
Property Value
FetchLimit
The maximum number of items to return (defaults to 1000).
public long FetchLimit { get; set; }
Property Value
Field
Gets or sets a value that specifies whether changes to site columns are included in the query.
public bool Field { get; set; }
Property Value
File
Gets or sets a value that specifies whether changes to files are included in the query.
public bool File { get; set; }
Property Value
Folder
Gets or sets value that specifies whether changes to folders are included in the query.
public bool Folder { get; set; }
Property Value
Group
Gets or sets a value that specifies whether changes to groups are included in the query.
public bool Group { get; set; }
Property Value
GroupMembershipAdd
Gets or sets a value that specifies whether adding users to groups is included in the query.
public bool GroupMembershipAdd { get; set; }
Property Value
GroupMembershipDelete
Gets or sets a value that specifies whether deleting users from the groups is included in the query.
public bool GroupMembershipDelete { get; set; }
Property Value
IgnoreStartTokenNotFoundError
Ignore errors when calling GetChanges if the caller's start ChangeToken is not found in the database (exact match) or if there are no changes in the database.
public bool IgnoreStartTokenNotFoundError { get; set; }
Property Value
Item
Gets or sets a value that specifies whether general changes to list items are included in the query.
public bool Item { get; set; }
Property Value
LatestFirst
Gets or sets a value that specifies whether to order the results by Modified By date, most recent first.
public bool LatestFirst { get; set; }
Property Value
List
Gets or sets a value that specifies whether changes to lists are included in the query.
public bool List { get; set; }
Property Value
Move
Gets or sets a value that specifies whether move changes are included in the query.
public bool Move { get; set; }
Property Value
Navigation
Gets or sets a value that specifies whether changes to the navigation structure of a site collection are included in the query.
public bool Navigation { get; set; }
Property Value
RecursiveAll
specifies whether we return all the change logs for folder scoped query. The flag will only work for Folder query. If true, all changes in the current folder and all sub folders will be returned. Otherwise, only changes in the current folder will be returned.
public bool RecursiveAll { get; set; }
Property Value
Rename
Gets or sets a value that specifies whether renaming changes are included in the query.
public bool Rename { get; set; }
Property Value
RequireSecurityTrim
Specifies whether we return log with security trimming. If true, we'll return the events with security trimming.
public bool RequireSecurityTrim { get; set; }
Property Value
Restore
Gets or sets a value that specifies whether restoring items from the recycle bin or from backups is included in the query.
public bool Restore { get; set; }
Property Value
RoleAssignmentAdd
Gets or sets a value that specifies whether adding role assignments is included in the query.
public bool RoleAssignmentAdd { get; set; }
Property Value
RoleAssignmentDelete
Gets or sets a value that specifies whether deleting role assignments is included in the query.
public bool RoleAssignmentDelete { get; set; }
Property Value
RoleDefinitionAdd
Gets or sets a value that specifies whether adding role definitions is included in the query.
public bool RoleDefinitionAdd { get; set; }
Property Value
RoleDefinitionDelete
Gets or sets a value that specifies whether deleting role definitions is included in the query.
public bool RoleDefinitionDelete { get; set; }
Property Value
RoleDefinitionUpdate
Gets or sets a value that specifies whether modifying role definitions is included in the query.
public bool RoleDefinitionUpdate { get; set; }
Property Value
SecurityPolicy
Gets or sets a value that specifies whether modifications to security policies are included in the query.
public bool SecurityPolicy { get; set; }
Property Value
Site
Gets or sets a value that specifies whether changes to site collections are included in the query.
public bool Site { get; set; }
Property Value
SystemUpdate
Gets or sets a value that specifies whether updates made using the item SystemUpdate method are included in the query.
public bool SystemUpdate { get; set; }
Property Value
Update
Gets or sets a value that specifies whether update changes are included in the query.
public bool Update { get; set; }
Property Value
User
Gets or sets a value that specifies whether changes to users are included in the query.
public bool User { get; set; }
Property Value
View
Gets or sets a value that specifies whether changes to views are included in the query.
public bool View { get; set; }
Property Value
Web
Gets or sets a value that specifies whether changes to Web sites are included in the query.
public bool Web { get; set; }