ActiveDirectorySecurity.RemoveAccessRule(ActiveDirectoryAccessRule) 方法

定义

从对象的 DACL 中移除包含安全标识符和访问掩码(其与指定访问规则中的相同)的所有访问规则。

public:
 bool RemoveAccessRule(System::DirectoryServices::ActiveDirectoryAccessRule ^ rule);
public bool RemoveAccessRule (System.DirectoryServices.ActiveDirectoryAccessRule rule);
override this.RemoveAccessRule : System.DirectoryServices.ActiveDirectoryAccessRule -> bool
Public Function RemoveAccessRule (rule As ActiveDirectoryAccessRule) As Boolean

参数

rule
ActiveDirectoryAccessRule

此操作应用于的 ActiveDirectoryAccessRule 对象。

返回

如果操作成功,则为 true;否则为 false

适用于