ReceiveStatement.Top Property

Gets or sets the optional number of messages to return.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property Top As ScalarExpression 
    Get 
    Set
'Usage
Dim instance As ReceiveStatement 
Dim value As ScalarExpression 

value = instance.Top

instance.Top = value
public ScalarExpression Top { get; set; }
public:
property ScalarExpression^ Top {
    ScalarExpression^ get ();
    void set (ScalarExpression^ value);
}
member Top : ScalarExpression with get, set
function get Top () : ScalarExpression 
function set Top (value : ScalarExpression)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The optional number of messages to return.

See Also

Reference

ReceiveStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace