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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.