Share via


DataProvider.RecordsAffected Property

Gets the number of records affected. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public ReadOnly Property RecordsAffected As Integer
    Get
'Usage
Dim instance As DataProvider
Dim value As Integer

value = instance.RecordsAffected
public int RecordsAffected { get; }
public:
virtual property int RecordsAffected {
    int get () sealed;
}
abstract RecordsAffected : int
override RecordsAffected : int
final function get RecordsAffected () : int

Property Value

Type: System.Int32
An integer value that specifies the number of records affected.

Implements

IDataReader.RecordsAffected