dotConnect for QuickBooks Online Documentation
Devart.Common Namespace / DbMonitor Class
Members

DbMonitor Class
Allows monitoring dynamic SQL execution in applications that use .NET data providers.
Syntax
'Declaration
 
Public MustInherit Class DbMonitor 
   Inherits System.ComponentModel.Component
   Implements System.ComponentModel.IComponentSystem.IDisposable 
 
Remarks

You can survey what happens in data provider components in two ways. First, you can handle 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.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         Devart.Common.DbMonitor
            Devart.Common.DbMonitorHelper

See Also