Permission.RemoveAll 方法

定义

Permission活动文档的集合中删除所有UserPermission对象,并禁用对活动文档的限制。

public:
 void RemoveAll();
public void RemoveAll ();
abstract member RemoveAll : unit -> unit
Public Sub RemoveAll ()

注解

调用 RemoveAll 方法后, Enabled 对象的 属性 Permission 返回 False ,属性 Count 返回 0 (零) 。

适用于