Compartilhar via


Propriedade do RDL WhileStatement.Predicate

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 (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxe

'Declaração
Public Property Predicate As BooleanExpression 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

WhileStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom