|Devart.Common Namespace : DbMonitor Class|
Allows to monitor dynamic SQL execution in applications that use .NET data providers.
For a list of all members of this type, see DbMonitor members.
Public MustInherit Class DbMonitor Inherits Implements ,
public abstract class DbMonitor : , ,
You can survey what happens in data provider components in two ways. First, you can handle DbMonitor.TraceEvent and perform necessary actions in the event handler. Second, if dbMonitor application is running and your edition of provider supports it, you will see execution logs in dbMonitor.
To enable monitoring just drop DbMonitor component to the form and set IsActive property to true. If dbMonitor application has already been started you can see messages and SQL statements that your application executes. For monitoring you need only one DbMonitor component on any of the forms your application consists of.
© 2002 - 2013 Devart. All Rights Reserved.