SemaphoreSecurity.AuditRuleType 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 SemaphoreSecurity 類別用來表示稽核規則的類型。
public:
virtual property Type ^ AuditRuleType { Type ^ get(); };
C#
public override Type AuditRuleType { get; }
member this.AuditRuleType : Type
Public Overrides ReadOnly Property AuditRuleType As Type
Type 物件,表示 SemaphoreAuditRule 類別。
衍生自 類別的 ObjectSecurity 類別會覆寫 AuditRuleType 屬性,並傳回它們用來代表稽核許可權的類型。 當您使用包含多種安全性物件的數位或集合時,請使用這個屬性來判斷要與每個安全性物件搭配使用的正確稽核規則類型。
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |