Partager via


Classe ReceiveStatement

Represents the RECEIVE statement.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class ReceiveStatement _
    Inherits WaitForSupportedStatement
'Utilisation
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

Le type ReceiveStatement expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReceiveStatement Initializes a new instance of the ReceiveStatement class.

Haut de la page

Propriétés

  Nom Description
Propriété publique FirstTokenIndex Gets or sets the first token index. (hérité de TSqlFragment.)
Propriété publique FragmentLength Gets the fragment length. (hérité de TSqlFragment.)
Propriété publique Into Gets or sets the table to select into the columns from received messages, optional.
Propriété publique IsConversationGroupIdWhere Gets or sets a value that indicates whether a conversation group ID is specified in a WHERE clause. Meaningless if WHERE is nullune référence Null (Nothing dans Visual Basic).
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique Queue Gets or sets the name of the queue to receive messages from.
Propriété publique ScriptTokenStream Gets or sets a list of token streams. (hérité de TSqlFragment.)
Propriété publique SelectElements Gets or sets the selected columns or set variables, the strong types of objects that can be here are SelectColumn and SelectSetVariable.
Propriété publique StartColumn Gets the starting column. (hérité de TSqlFragment.)
Propriété publique StartLine Gets the starting line. (hérité de TSqlFragment.)
Propriété publique StartOffset Gets the fragment start offset value. (hérité de TSqlFragment.)
Propriété publique Top Gets or sets the optional number of messages to return.
Propriété publique Where Gets or sets the conversation or conversation group for received messages, optional.

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Accepts the visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Accepts the visitor for Children. (remplace WaitForSupportedStatement.AcceptChildren(TSqlFragmentVisitor).)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom