Compartilhar via


Propriedade do RDL IfStatement.ThenStatement

Gets the statement that will be executed if the predicate evaluates true.

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

Sintaxe

'Declaração
Public Property ThenStatement As TSqlStatement 
    Get 
    Set
'Uso
Dim instance As IfStatement 
Dim value As TSqlStatement 

value = instance.ThenStatement

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

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
The statement that will be executed.

Consulte também

Referência

IfStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom