Partilhar via


Propriedade do RDL SimpleWhenClause.WhenExpression

Gets or sets the scalar expression that comes after WHEN.

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

Sintaxe

'Declaração
Public Property WhenExpression As ScalarExpression 
    Get 
    Set
'Uso
Dim instance As SimpleWhenClause 
Dim value As ScalarExpression 

value = instance.WhenExpression

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

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The scalar expression that comes after WHEN.

Consulte também

Referência

SimpleWhenClause Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom