FileSystemSecurity.AuditRuleType 属性
定义
获取 FileSystemSecurity 类用于表示审核规则的类型。Gets the type that the FileSystemSecurity class uses to represent audit rules.
public:
virtual property Type ^ AuditRuleType { Type ^ get(); };
public override Type AuditRuleType { get; }
member this.AuditRuleType : Type
Public Overrides ReadOnly Property AuditRuleType As Type
属性值
一个表示 FileSystemAuditRule 类的 Type 对象。A Type object representing the FileSystemAuditRule class.
注解
派生自类的类将 FileSystemSecurity 重写 AuditRuleType 属性,并返回用于表示审核权限的类型。Classes that derive from the FileSystemSecurity class override the AuditRuleType property and return the type they use to represent audit rights. 当使用包含多个类型的安全对象的数组或集合时,请使用此属性来确定要用于每个安全对象的正确审核规则类型。When you work with arrays or collections that contain multiple types of security objects, use this property to determine the correct audit rule type to use with each security object.