SPChangeQuery.RoleDefinitionUpdate Property
Gets or sets a Boolean value that specifies whether changes that modify role definitions 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 RoleDefinitionUpdate As Boolean
Get
Set
'Usage
Dim instance As SPChangeQuery
Dim value As Boolean
value = instance.RoleDefinitionUpdate
instance.RoleDefinitionUpdate = value
[ClientCallableAttribute]
public bool RoleDefinitionUpdate { get; set; }
Property Value
Type: System.Boolean
true to include changes that modify role definitions; otherwise, false. The default is false.
Remarks
The following code constructs a query for changes that update role assignments and role definitions in Web sites and lists.
Dim query As New SPChangeQuery(False, False)
' object types
query.List = True
query.Web = True
' change type
query.RoleDefinitionUpdate = True
SPChangeQuery query = new SPChangeQuery(false, false);
// object types
query.List = true;
query.Web = true;
// change type
query.RoleDefinitionUpdate = true;