获取或设置是否查看者可以下载的文档上运行脚本。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Property AllowScript As Boolean
Get
Set
用法
Dim instance As InformationRightsManagementSettings
Dim value As Boolean
value = instance.AllowScript
instance.AllowScript = value
public bool AllowScript { get; set; }
属性值
类型:System.Boolean
true如果允许脚本运行,否则为false。
备注
此属性的默认值为 false。
另请参阅
引用
InformationRightsManagementSettings 类