This documentation is archived and is not being maintained.

EventLogPermissionAttribute Constructor

Initializes a new instance of the EventLogPermissionAttribute class.

[Visual Basic]
Public Sub New( _
   ByVal action As SecurityAction _
)
[C#]
public EventLogPermissionAttribute(
   SecurityAction action
);
[C++]
public: EventLogPermissionAttribute(
   SecurityAction action
);
[JScript]
public function EventLogPermissionAttribute(
   action : SecurityAction
);

Parameters

action
One of the SecurityAction values.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

EventLogPermissionAttribute Class | EventLogPermissionAttribute Members | System.Diagnostics Namespace | SecurityAction

Show: