ExpectedSqlExceptionAttribute.MatchFirstError プロパティ
予期される重大度、状態、およびエラー番号を SqlError の最初の SqlException と適合させるかどうかを示す値を取得します。
名前空間: Microsoft.Data.Tools.Schema.Sql.UnitTesting
アセンブリ: Microsoft.Data.Tools.Schema.Sql.UnitTesting (Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 内)
構文
public bool MatchFirstError { get; set; }
public:
property bool MatchFirstError {
bool get();
void set(bool value);
}
member MatchFirstError : bool with get, set
Public Property MatchFirstError As Boolean
プロパティ値
Type: System.Boolean
予期される重大度、状態、およびエラー番号を、例外内の最初の SqlError と一致させる場合は true、予期される重大度、状態、およびエラー番号を、例外内の任意の SqlError と一致させる場合は false。
参照
SqlException
SqlError
ExpectedSqlExceptionAttribute クラス
Microsoft.Data.Tools.Schema.Sql.UnitTesting 名前空間
トップに戻る