Data Access Application Block WMI Events
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
The Data Access Application Block is instrumented with the following Windows Management Instrumentation (WMI) events:
- ConnectionFailedEvent
- CommandFailedEvent
- DataConfigurationFailureEvent
The following tables describe the properties for each WMI event .
ConnectionFailedEvent Properties
WMI property |
Description |
---|---|
ConnectionString |
The connection string that caused the failure. |
ExceptionMessage |
The message for the exception that was raised when the connection failed. |
InstanceName |
The ID of the database provider to which the connection failed, as specified in the configuration file. |
UtcTimeStamp |
The time that the connection failed. |
CommandFailedEvent Properties
WMI property |
Description |
---|---|
CommandText |
The database command that failed. |
ConnectionString |
The connection string in use when the command failed. |
ExceptionMessage |
The message for the exception that was raised when the command failed. |
InstanceName |
The ID of the database provider that suffered the command failure, as specified in the configuration file. |
UtcTimeStamp |
The time that the command failed. |
DataConfigurationFailureEvent Properties
WMI property |
Description |
---|---|
ExceptionMessage |
The message for the exception that was raised when the attempt to create or configure a database failed. |
InstanceName |
The ID of the database provider that could not be created or configured, as specified in the configuration file. |
UtcTimeStamp |
The time that the configuration failure occurred. |