Share via


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
System_CAPS_pubproperty 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.

System_CAPS_pubproperty MessageNumber

Gets or sets the expected error number.

System_CAPS_protproperty NoExceptionMessage

(Inherited from ExpectedExceptionBaseAttribute.)

System_CAPS_pubproperty Severity

Gets or sets the expected severity value of the error.

System_CAPS_pubproperty State

Gets or sets the expected error state of the error.

System_CAPS_protproperty TestContext

(Inherited from ExpectedExceptionBaseAttribute.)

System_CAPS_pubproperty TypeId

(Inherited from Attribute.)

See Also

ExpectedSqlExceptionAttribute Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace

Return to top