dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlScript Class / MySqlStatementExecute Event

In This Topic
    MySqlStatementExecute Event
    In This Topic
    Occurs when a SQL statement within the script is about to execute.
    Syntax
    'Declaration
     
    Public Event MySqlStatementExecute As MySqlStatementExecuteEventHandler
    public event MySqlStatementExecuteEventHandler MySqlStatementExecute
    Event Data

    The event handler receives an argument of type MySqlStatementExecuteEventArgs containing data related to this event. The following MySqlStatementExecuteEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets length of the statement in symbols. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    Gets number of line in the whole script where the statement can be located. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    Gets position of the statement in its line. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    Gets type of SQL statement.  
    Gets offset of the statement in the whole script text. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    Gets or sets an MySqlDataReader that represents statement resultset.  
    Determines status of the statement and script execution. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    Gets type of the statement. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    Gets the SQL statement that is about to be executed. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    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