SPSolution.ContainsCasPolicy Property
Gets a Boolean value that indicates whether the solution contains Code Access Security (CAS) policies.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Gets a Boolean value that indicates whether the solution contains Code Access Security (CAS) policies.