ExpectedSqlExceptionAttribute Properties
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Properties
Name | Description | |
---|---|---|
![]() |
MatchFirstError | Gets a value that indicates whether the expected severity, state, and error number are to be matched against the first SqlError in the SqlException. |
![]() |
MessageNumber | Gets or sets the expected error number. |
![]() |
NoExceptionMessage | (Inherited from ExpectedExceptionBaseAttribute.) |
![]() |
Severity | Gets or sets the expected severity value of the error. |
![]() |
State | Gets or sets the expected error state of the error. |
![]() |
TestContext | (Inherited from ExpectedExceptionBaseAttribute.) |
![]() |
TypeId | (Inherited from Attribute.) |
See Also
ExpectedSqlExceptionAttribute Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top