SqlEventLog Methods |
The SqlEventLog type exposes the following members.
| Name | Description | |
|---|---|---|
| AddCategory |
Adds an event category to the log.
Categories help to classify the type of event that occurred.
| |
| AddEvent |
Adds an event to the log.
| |
| AddSeverityLevel |
Adds an event severity level to the log.
Severity levels help to identify the importance of an event.
| |
| AddSource |
Adds an event source to the log.
Event sources identify where the event originated.
| |
| DeleteCategory |
Deletes an event category from the log.
| |
| DeleteEvent |
Deletes an event from the log.
| |
| DeleteSeverityLevel |
Deletes an event severity level from the log.
| |
| DeleteSource |
Deletes an event source from the log.
Note: Deleting an event source, deletes all events originating from this source in the log.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Find |
Finds events that match the filters provided.
See each parameter for information on how to filter the search.
(Overrides EventLogFind(String, NullableEventSeverityLevels, String, NullableDateTime, NullableDateTime).) | |
| GetCategories |
Gets event categories from the log that match the specified criteria.
Note: See parameter descriptions for information on filtering your results.
| |
| GetEvents |
Gets events from the log that match specified criteria.
Note: See parameter descriptions for information on filtering your results.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetSeverityLevels |
Gets event severity levels from the log that match the specified criteria.
Note: See parameter descriptions for information on filtering your results.
| |
| GetSources |
Gets event sources from the log that match the specified criteria.
Note: See parameter descriptions for information on filtering your results.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Log |
Logs the event to the event log.
(Overrides EventLogLog(Event).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateCategory |
Updates the attributes of an existing event category.
| |
| UpdateEvent |
Updates the attributes of an existing event.
| |
| UpdateSeverityLevel |
Updates the attributes of an existing event severity level.
| |
| UpdateSource |
Updates the attributes of an existing event source.
|