VistaDB 5






RecordsAffected Property (VistaDBDataReader)
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. This will be set to 0 if no rows were affected or the statement failed. This value shall be set to -1 for SELECT statements according to the IDataReader.RecordsAffected property.
Syntax
'Declaration
 
Public Overrides NotOverridable ReadOnly Property RecordsAffected As System.Integer
'Usage
 
Dim instance As VistaDBDataReader
Dim value As System.Integer
 
value = instance.RecordsAffected
public override System.int RecordsAffected {get;}
public read-only property RecordsAffected: System.Integer; override; 
public override function get RecordsAffected : System.int
public: __property System.int get_RecordsAffected() override;
public:
property System.int RecordsAffected {
   System.int get() override;
}
Remarks
This will be set to 0 if no rows were affected or the statement failed. This value shall be set to -1 for SELECT statements according to the IDataReader.RecordsAffected property.
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

Reference

VistaDBDataReader Class
VistaDBDataReader Members
System.Data.IDataReader.RecordsAffected