Partager via


Propriété SelectScalarExpression.Expression

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.

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

Syntaxe

'Déclaration
Public Property Expression As ScalarExpression 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

SelectScalarExpression Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom