Класс RaiseErrorStatement

Represents the RAISERROR statement.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.RaiseErrorStatement

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class RaiseErrorStatement _
    Inherits TSqlStatement
'Применение
Dim instance As RaiseErrorStatement
[SerializableAttribute]
public class RaiseErrorStatement : TSqlStatement
[SerializableAttribute]
public ref class RaiseErrorStatement : public TSqlStatement
[<SerializableAttribute>]
type RaiseErrorStatement =  
    class 
        inherit TSqlStatement 
    end
public class RaiseErrorStatement extends TSqlStatement

Тип RaiseErrorStatement обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод RaiseErrorStatement Initializes a new instance of the RaiseErrorStatement class.

В начало

Свойства

  Имя Описание
Открытое свойство FirstParameter Gets or sets the first parameter value. Can be a string, a variable, an integer or a negative integer.
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство OptionalParameters Gets a list of optional parameters. Can be a string, a variable, an integer or a negative integer.
Открытое свойство RaiseErrorOptions Gets or sets the RAISERROR option value.
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство SecondParameter Gets or sets the second parameter. Can be a variable, an integer or a negative integer.
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)
Открытое свойство ThirdParameter Gets or sets the third parameter. Can be a variable, an integer or a negative integer.

В начало

Методы

  Имя Описание
Открытый метод Accept Accepts a visit from the specified visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).)
Открытый метод AcceptChildren Accepts a visit for the Children from the specified visitor. (Переопределяет TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom