Share via


SPChangeQuery.SecurityPolicy property

Gets or sets a Boolean value that specifies whether modifications to security policies are included in the query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property SecurityPolicy As Boolean
    Get
    Set
'Usage
Dim instance As SPChangeQuery
Dim value As Boolean

value = instance.SecurityPolicy

instance.SecurityPolicy = value
public bool SecurityPolicy { get; set; }

Property value

Type: System.Boolean
true to include modifications to security policies; otherwise, false. The default is false.

Remarks

When you set this property to true, the SPChangeCollection object that is returned by the query includes information about any security policy changes that have been made at the Web application level that affect the entire content database.

See also

Reference

SPChangeQuery class

SPChangeQuery members

Microsoft.SharePoint namespace

SPChangeSecurityPolicy