SPDefaultSolutionValidator.AllowAttributes 属性
如果沙盒解决方案可以使用禁止的命名空间中的属性,则为 true。
命名空间: Microsoft.SharePoint.UserCode
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property AllowAttributes As Boolean
Get
Set
用法
Dim instance As SPDefaultSolutionValidator
Dim value As Boolean
value = instance.AllowAttributes
instance.AllowAttributes = value
public bool AllowAttributes { get; set; }