Класс ReceiveStatement

Represents the RECEIVE statement.

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

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.WaitForSupportedStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.ReceiveStatement

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

Синтаксис

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

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство Into Gets or sets the table to select into the columns from received messages, optional.
Открытое свойство IsConversationGroupIdWhere Gets or sets a value that indicates whether a conversation group ID is specified in a WHERE clause. Meaningless if WHERE is nullпустая ссылка (Nothing в Visual Basic).
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство Queue Gets or sets the name of the queue to receive messages from.
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство SelectElements Gets or sets the selected columns or set variables, the strong types of objects that can be here are SelectColumn and SelectSetVariable.
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)
Открытое свойство Top Gets or sets the optional number of messages to return.
Открытое свойство Where Gets or sets the conversation or conversation group for received messages, optional.

В начало

Методы

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

В начало

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

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

См. также

Справочник

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