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
'Usage
Dim instance As IfStatement
Dim value As Expression
value = instance.Predicate
instance.Predicate = value
public Expression Predicate { get; set; }
public:
property Expression^ Predicate {
Expression^ get ();
void set (Expression^ value);
}
public function get Predicate () : Expression
public 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.