This documentation is archived and is not being maintained.

SPSolution.ContainsCasPolicy Property

Windows SharePoint Services 3

Gets a Boolean value that indicates whether the solution contains Code Access Security (CAS) policies.

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

public bool ContainsCasPolicy { get; }

Property Value

Type: System.Boolean
true if the solution contains CAS policies; otherwise, false.