編輯

共用方式為


EventLogPermissionAccess Enum

Definition

Defines access levels used by EventLog permission classes.

This enumeration supports a bitwise combination of its member values.

public enum class EventLogPermissionAccess
[System.Flags]
public enum EventLogPermissionAccess
[<System.Flags>]
type EventLogPermissionAccess = 
Public Enum EventLogPermissionAccess
Inheritance
EventLogPermissionAccess
Attributes

Fields

Name Value Description
None 0

The EventLog has no permissions.

Browse 2

The EventLog can read existing logs. Note This member is now obsolete, use Administer instead.

Instrument 6

The EventLog can read or write to existing logs, and create event sources and logs. Note This member is now obsolete, use Write instead.

Audit 10

The EventLog can read existing logs, delete event sources or logs, respond to entries, clear an event log, listen to events, and access a collection of all event logs. Note This member is now obsolete, use Administer instead.

Write 16

The EventLog can write to existing logs, and create event sources and logs.

Administer 48

The EventLog can create an event source, read existing logs, delete event sources or logs, respond to entries, clear an event log, listen to events, and access a collection of all event logs.

Applies to

See also