Name
EventLogPermissionAccess
Synopsis
This enumeration is used
by
EventLogPermissionAttribute
.
None
indicates no access, and
Browse
allows you to read logs.
Instrument
allows reading and writing.
Audit
represents the highest level of access. It
lets you read logs, clear a log, monitor events, respond to entries,
delete logs and event sources, and enumerate a collection of all
logs.
public enum EventLogPermissionAccess { None = 0x00000000, Browse = 0x00000002, Instrument = 0x00000006, Audit = 0x0000000A }
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable, System.IFormattable
,
System.IConvertible)
→
EventLogPermissionAccess
Returned By
EventLogPermissionAttribute.PermissionAccess
,
EventLogPermissionEntry.PermissionAccess
Passed To
EventLogPermission.EventLogPermission( )
,
EventLogPermissionAttribute.PermissionAccess
,
EventLogPermissionEntry.EventLogPermissionEntry( )
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.