共用方式為


ActiveDirectorySecurity.SetAuditRule(ActiveDirectoryAuditRule) 方法

定義

以指定的稽核規則,取代含有與物件的 SACL 中所指定之稽核規則相同安全識別項的所有稽核規則。

public:
 void SetAuditRule(System::DirectoryServices::ActiveDirectoryAuditRule ^ rule);
public void SetAuditRule (System.DirectoryServices.ActiveDirectoryAuditRule rule);
override this.SetAuditRule : System.DirectoryServices.ActiveDirectoryAuditRule -> unit
Public Sub SetAuditRule (rule As ActiveDirectoryAuditRule)

參數

rule
ActiveDirectoryAuditRule

這個作業所套用到的 ActiveDirectoryAccessRule

適用於