Partilhar via


Propriedade do RDL ThrowStatement.ErrorNumber

Gets or sets the error number to be thrown.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxe

'Declaração
Public Property ErrorNumber As ValueExpression 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.ValueExpression
The error number to be thrown.

Consulte também

Referência

ThrowStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom