共用方式為


RecordsAffected 屬性

Gets the number of records affected. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public ReadOnly Property RecordsAffected As Integer
    Get
'用途
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

屬性值

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

實作

IDataReader. . :: . .RecordsAffected