取得整數陣列,它表示在影響到資料庫的測試中,每個陳述式所影響的資料列數目。
命名空間: 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 命名空間
回到頁首