Permission.StoreLicenses 属性

定义

返回一个 布尔 值,该值指示是否应缓存用户查看活动文档的许可证,以便在用户无法连接到权限管理服务器时允许脱机查看。

public:
 property bool StoreLicenses { bool get(); void set(bool value); };
public bool StoreLicenses { get; set; }
member this.StoreLicenses : bool with get, set
Public Property StoreLicenses As Boolean

属性值

注解

默认返回值为 True

StoreLicenses 属性对应于 (其值与权限用户界面中) 需要连接以验证用户的权限选项相反。 当 StoreLicensesFalse 时,文档所有者以外的用户必须连接到权限管理服务器并获取许可证,以便在每次打开文档时使用文档。

使用 Microsoft Office 2003 信息权限管理服务保护内容时, StoreLicenses 属性始终为 True ,不能设置为 False。

适用于