Delen via


WhileStatement.Predicate Property

Gets or sets the expression that is the predicate for the WHILE statement. This should be a boolean expression.

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

Syntax

'Declaration
Public Property Predicate As BooleanExpression 
    Get 
    Set
'Usage
Dim instance As WhileStatement 
Dim value As BooleanExpression 

value = instance.Predicate

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.BooleanExpression
The expression that is the predicate for the WHILE statement.

See Also

Reference

WhileStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace