Share via


IfStatement.Predicate Property

Gets or sets the expression that is the predicate for the IF statement.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property Predicate As Expression
public Expression Predicate { get; set; }
public:
property Expression^ Predicate {
    Expression^ get ();
    void set (Expression^ value);
}
member Predicate : Expression with get, set
function get Predicate () : Expression
function set Predicate (value : Expression)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.Expression

Remarks

This should be a Boolean expression.

.NET Framework Security

See Also

Reference

IfStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace