Partilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property SecurityPolicy As Boolean
    Get
    Set
'Usage
Dim instance As SPChangeQuery
Dim value As Boolean

value = instance.SecurityPolicy

instance.SecurityPolicy = value
[ClientCallableAttribute]
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