Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EventLog Properties

The EventLog type exposes the following members.

  Name Description
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property EnableRaisingEvents Gets or sets a value indicating whether the EventLog receives EntryWritten event notifications.
Public property Entries Gets the contents of the event log.
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Log Gets or sets the name of the log to read from or write to.
Public property LogDisplayName Gets the event log's friendly name.
Public property MachineName Gets or sets the name of the computer on which to read or write events.
Public property MaximumKilobytes Gets or sets the maximum event log size in kilobytes.
Public property MinimumRetentionDays Gets the number of days to retain entries in the event log.
Public property OverflowAction Gets the configured behavior for storing new entries when the event log reaches its maximum log file size.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Source Gets or sets the source name to register and use when writing to the event log.
Public property SynchronizingObject Gets or sets the object used to marshal the event handler calls issued as a result of an EventLog entry written event.
© 2015 Microsoft