Share via


SPDefaultSolutionValidator.AllowAttributes property

True if sandboxed solutions can use attributes from prohibited namespaces.

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

Syntax

'Declaration
Public Property AllowAttributes As Boolean
    Get
    Set
'Usage
Dim instance As SPDefaultSolutionValidator
Dim value As Boolean

value = instance.AllowAttributes

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

Property value

Type: System.Boolean

See also

Reference

SPDefaultSolutionValidator class

SPDefaultSolutionValidator members

Microsoft.SharePoint.UserCode namespace