Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.9109.0" />

.NET API 5,160,368 bytes

 ReceiveStatement

Represents RECEIVE statement
public VariableTableReference Into { get; set; }

Specifies the table to select into the columns from received messages, optional

public bool IsConversationGroupIdWhere { get; set; }

True if conversation group id was specified in where clause, false otherwise. Meaningless if Where is null.

public SchemaObjectName Queue { get; set; }

The name of the queue to receive messages from.

These are the selected columns, or set variables, the strong types of objects that can be here are SelectColumn, SelectSetVariable.

public ScalarExpression Top { get; set; }

Optional number of messages to return

public ValueExpression Where { get; set; }

Specifies the conversation or conversation group for received messages, optional