Delen via


WhenClause.ThenExpression Property

Gets or sets the expression that comes after THEN.

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

Syntax

'Declaration
Public Property ThenExpression As ScalarExpression 
    Get 
    Set
'Usage
Dim instance As WhenClause 
Dim value As ScalarExpression 

value = instance.ThenExpression

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The expression that comes after THEN.

See Also

Reference

WhenClause Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace