Partager via


Propriété SetVariableStatement.Expression

Gets or sets the expression that the variable is going to be set. Can be nullune référence Null (Nothing dans Visual Basic) in case of cursor.

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 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)

Valeur de propriété

Type : Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The expression that the variable is going to be set.

Voir aussi

Référence

SetVariableStatement Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom