dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlCommand Class / StatementCompleted Event

In This Topic
    StatementCompleted Event
    In This Topic
    Occurs when the execution of a SQL statement completes.
    Syntax
    'Declaration
     
    Public Event StatementCompleted As StatementCompletedEventHandler
    public event StatementCompletedEventHandler StatementCompleted
    Event Data

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

    PropertyDescription
    Indicates the number of rows affected by the statement that caused the System.Data.SqlClient.SqlCommand.StatementCompleted event to occur.  
    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