Export (0) Print
Expand All

EventLogPermission Constructor (EventLogPermissionAccess, String)

Initializes a new instance of the EventLogPermission class with the specified access levels and the name of the computer to use.

Namespace:  System.Diagnostics
Assembly:  System (in System.dll)

new : 
        permissionAccess:EventLogPermissionAccess * 
        machineName:string -> EventLogPermission


Type: System.Diagnostics.EventLogPermissionAccess

One of the enumeration values that specifies an access level.

Type: System.String

The name of the computer on which to read or write events.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft