dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlScript Class / PgSqlStatementExecute Event

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

    The event handler receives an argument of type PgSqlStatementExecuteEventArgs containing data related to this event. The following PgSqlStatementExecuteEventArgs 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 offset of the statement in the whole script text. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
    Gets or sets an PgSqlDataReader 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