Delen via


SelectScalarExpression.Expression Property

Gets or sets a select expression that can be any expression, if this is non-null then this select expression is a regular expression. At present this AST class expresses either an expression or a wildcard. Because a SelectExpressions can do so much more, we may want to go to a derivation approach, where this class would be a base -- or there may be another more elegant approach. For now, this is a basic design to support SELECT * FROM foo.

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

Syntax

'Declaration
Public Property Expression As ScalarExpression 
    Get 
    Set
'Usage
Dim instance As SelectScalarExpression 
Dim value As ScalarExpression 

value = instance.Expression

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
A select expression can be any expression.

See Also

Reference

SelectScalarExpression Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace