共用方式為


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.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property Expression As ScalarExpression 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

SelectScalarExpression 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間