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

In This Topic
    DbMonitor Class
    In This Topic
    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

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also