예상된 심각도, 상태 및 오류 번호가 SqlError의 첫 번째 SqlException와 일치하는지 여부를 나타내는 값을 가져옵니다.
네임스페이스: Microsoft.Data.Tools.Schema.Sql.UnitTesting
어셈블리: Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll의 Microsoft.Data.Tools.Schema.Sql.UnitTesting
구문
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 네임스페이스
맨 위로 이동