ThrowStatement.ErrorNumber Property
Gets or sets the error number to be thrown.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property ErrorNumber As ValueExpression
Get
Set
'Usage
Dim instance As ThrowStatement
Dim value As ValueExpression
value = instance.ErrorNumber
instance.ErrorNumber = value
public ValueExpression ErrorNumber { get; set; }
public:
property ValueExpression^ ErrorNumber {
ValueExpression^ get ();
void set (ValueExpression^ value);
}
member ErrorNumber : ValueExpression with get, set
function get ErrorNumber () : ValueExpression
function set ErrorNumber (value : ValueExpression)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.ValueExpression
The error number to be thrown.