Delen via


SetVariableStatement.Expression Property

Gets or sets the expression that the variable is going to be set. Can be nulla null reference (Nothing in Visual Basic) in case of cursor.

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 SetVariableStatement 
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
The expression that the variable is going to be set.

See Also

Reference

SetVariableStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace