Delen via


SearchedWhenClause.WhenExpression Property

Gets or sets the Boolean expression that comes after the WHEN clause.

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

Syntax

'Declaration
Public Property WhenExpression As BooleanExpression 
    Get 
    Set
'Usage
Dim instance As SearchedWhenClause 
Dim value As BooleanExpression 

value = instance.WhenExpression

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.BooleanExpression
The Boolean expression that comes after the WHEN clause.

See Also

Reference

SearchedWhenClause Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace