See Also

DbMonitor Members  | Devart.Common Namespace

Language

Visual Basic

C#

Show All

See AlsoLanguagesDevart.DataSend comments on this topic.

DbMonitor Class

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.

Inheritance Hierarchy

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

Syntax

[Visual Basic]
Public MustInherit Class DbMonitor    Inherits Component    Implements IComponentIDisposable 
[C#]
public abstract class DbMonitor : Component, IComponentIDisposable 

Remarks

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.

See Also

DbMonitor Members  | Devart.Common Namespace

 

 


© 2002 - 2013 Devart. All Rights Reserved.