dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlDump Class / RestoreProgress Event

In This Topic
    RestoreProgress Event
    In This Topic
    Occurs when a SQL statement within the script is about to execute. You can use this event to track the progress of the restore integration.
    Syntax
    'Declaration
     
    Public Event RestoreProgress As RestoreProgressEventHandler
    public event RestoreProgressEventHandler RestoreProgress
    Event Data

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

    PropertyDescription
    Gets the length of the statement in symbols.  
    Gets the number of line in the whole script where the statement is located.  
    Gets the position on the line where the statement starts.  
    Gets offset of the statement in the whole script text.  
    Gets type of the statement.  
    Gets the SQL statement that is about to be executed.  
    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