EndConversationStatement.ErrorCode Property
Gets or sets the error code (integer or variable) - if WITH ERROR clause was specified.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property ErrorCode As ValueExpression
Get
Set
'Usage
Dim instance As EndConversationStatement
Dim value As ValueExpression
value = instance.ErrorCode
instance.ErrorCode = value
public ValueExpression ErrorCode { get; set; }
public:
property ValueExpression^ ErrorCode {
ValueExpression^ get ();
void set (ValueExpression^ value);
}
member ErrorCode : ValueExpression with get, set
function get ErrorCode () : ValueExpression
function set ErrorCode (value : ValueExpression)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.ValueExpression
The error code.