SPSolution.ContainsCasPolicy property
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)
Syntax
'Declaration
Public ReadOnly Property ContainsCasPolicy As Boolean
Get
'Usage
Dim instance As SPSolution
Dim value As Boolean
value = instance.ContainsCasPolicy
public bool ContainsCasPolicy { get; }
Property value
Type: System.Boolean
true if the solution contains CAS policies; otherwise, false.