SemaphoreAuditRule.SemaphoreRights Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the access rights affected by the audit rule.

Namespace:   System.Security.AccessControl
Assembly:  System (in System.dll)

public SemaphoreRights SemaphoreRights { get; }

Property Value

Type: System.Security.AccessControl.SemaphoreRights

A bitwise combination of SemaphoreRights values that indicates the rights affected by the audit rule.

SemaphoreAuditRule objects are immutable. You can create a new audit rule representing a different user, different rights, or a different combination of AuditFlags values, but you cannot modify an existing audit rule.

.NET Framework
Available since 2.0
Return to top
Show: