SimpleWhenClause.WhenExpression Property
Gets or sets the scalar expression that comes after WHEN.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property WhenExpression As ScalarExpression
Get
Set
'Usage
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)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The scalar expression that comes after WHEN.