Redigera

Dela via


SemaphoreSecurity.AuditRuleType Property

Definition

Gets the type that the SemaphoreSecurity 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

Property Value

A Type object representing the SemaphoreAuditRule class.

Remarks

Classes that derive from the ObjectSecurity 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.

Applies to