共用方式為


AuditRule<T> 建構函式

定義

使用指定的值,初始化 AuditRule’1 類別的新執行個體。

多載

AuditRule<T>(IdentityReference, T, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

AuditRule<T>(String, T, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

AuditRule<T>(IdentityReference, T, InheritanceFlags, PropagationFlags, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

AuditRule<T>(String, T, InheritanceFlags, PropagationFlags, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

AuditRule<T>(IdentityReference, T, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

public:
 AuditRule(System::Security::Principal::IdentityReference ^ identity, T rights, System::Security::AccessControl::AuditFlags flags);
public AuditRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : System.Security.Principal.IdentityReference * 'T * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As IdentityReference, rights As T, flags As AuditFlags)

參數

identity
IdentityReference

要套用這個稽核規則的識別。

rights
T

稽核規則的權限。

flags
AuditFlags

規則的稽核條件。

適用於

AuditRule<T>(String, T, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

public:
 AuditRule(System::String ^ identity, T rights, System::Security::AccessControl::AuditFlags flags);
public AuditRule (string identity, T rights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : string * 'T * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As String, rights As T, flags As AuditFlags)

參數

identity
String

要套用稽核規則的識別。

rights
T

稽核規則的權限。

flags
AuditFlags

稽核規則的屬性。

適用於

AuditRule<T>(IdentityReference, T, InheritanceFlags, PropagationFlags, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

public:
 AuditRule(System::Security::Principal::IdentityReference ^ identity, T rights, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AuditFlags flags);
public AuditRule (System.Security.Principal.IdentityReference identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : System.Security.Principal.IdentityReference * 'T * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As IdentityReference, rights As T, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags)

參數

identity
IdentityReference

要套用稽核規則的識別。

rights
T

稽核規則的權限。

inheritanceFlags
InheritanceFlags

稽核規則的繼承屬性。

propagationFlags
PropagationFlags

是否自動傳播繼承的稽核規則。

flags
AuditFlags

規則的稽核條件。

適用於

AuditRule<T>(String, T, InheritanceFlags, PropagationFlags, AuditFlags)

使用指定的值,初始化 AuditRule<T> 類別的新執行個體。

public:
 AuditRule(System::String ^ identity, T rights, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AuditFlags flags);
public AuditRule (string identity, T rights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> : string * 'T * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule<'T (requires 'T : struct)>
Public Sub New (identity As String, rights As T, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags)

參數

identity
String

要套用稽核規則的識別。

rights
T

稽核規則的權限。

inheritanceFlags
InheritanceFlags

稽核規則的繼承屬性。

propagationFlags
PropagationFlags

是否自動傳播繼承的稽核規則。

flags
AuditFlags

規則的稽核條件。

適用於