共用方式為


SearchedWhenClause.WhenExpression 屬性

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

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property WhenExpression As BooleanExpression 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

SearchedWhenClause 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間