Επεξεργασία

Κοινή χρήση μέσω


AuditRule<T> Constructors

Definition

Initializes a new instance of the AuditRule'1 class by using the specified values.

Overloads

AuditRule<T>(IdentityReference, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

AuditRule<T>(String, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

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

Initializes a new instance of the AuditRule<T> class by using the specified values.

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

Initializes a new instance of the AuditRule<T> class by using the specified values.

AuditRule<T>(IdentityReference, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

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)

Parameters

identity
IdentityReference

The identity to which this audit rule applies.

rights
T

The rights of the audit rule.

flags
AuditFlags

The conditions for which the rule is audited.

Applies to

AuditRule<T>(String, T, AuditFlags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

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)

Parameters

identity
String

The identity to which the audit rule applies.

rights
T

The rights of the audit rule.

flags
AuditFlags

The properties of the audit rule.

Applies to

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

Initializes a new instance of the AuditRule<T> class by using the specified values.

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)

Parameters

identity
IdentityReference

The identity to which the audit rule applies.

rights
T

The rights of the audit rule.

inheritanceFlags
InheritanceFlags

The inheritance properties of the audit rule.

propagationFlags
PropagationFlags

Whether inherited audit rules are automatically propagated.

flags
AuditFlags

The conditions for which the rule is audited.

Applies to

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

Initializes a new instance of the AuditRule<T> class by using the specified values.

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)

Parameters

identity
String

The identity to which the audit rule applies.

rights
T

The rights of the audit rule.

inheritanceFlags
InheritanceFlags

The inheritance properties of the audit rule.

propagationFlags
PropagationFlags

Whether inherited audit rules are automatically propagated.

flags
AuditFlags

The conditions for which the rule is audited.

Applies to