SqlExecutionResult.RowsAffected 属性

 

获取一个整数数组,指示影响数据库的测试中的每条语句所影响的行数。

命名空间:   Microsoft.Data.Tools.Schema.Sql.UnitTesting
程序集:  Microsoft.Data.Tools.Schema.Sql.UnitTesting(Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)

语法

public int[] RowsAffected { get; set; }
public:
property array<int>^ RowsAffected {
    array<int>^ get();
    void set(array<int>^ value);
}
member RowsAffected : int[] with get, set
Public Property RowsAffected As Integer()

属性值

Type: System.Int32[]

备注

仅为 SQL Server 客户端捕获此信息。

请参阅

SqlExecutionResult 类
Microsoft.Data.Tools.Schema.Sql.UnitTesting 命名空间

返回页首