FileSystemSecurity.AuditRuleType FileSystemSecurity.AuditRuleType FileSystemSecurity.AuditRuleType FileSystemSecurity.AuditRuleType Property

定義

取得 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

屬性值

Type 物件,表示 FileSystemAuditRule 類別。A Type object representing the FileSystemAuditRule class.

備註

衍生自FileSystemSecurity類別的類別會覆AuditRuleType寫屬性, 並傳回用來表示 audit 許可權的型別。Classes that derive from the FileSystemSecurity class override the AuditRuleType property and return the type they use to represent audit rights. 當您使用包含多個安全性物件類型的陣列或集合時, 請使用此屬性來判斷要用於每個安全性物件的正確 audit 規則類型。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.

適用於