AuditRule<T> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过使用指定的值,初始化 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
对其审计此规则的条件。