共用方式為


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

適用於