Share via


IfStatement.ThenStatement Property

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

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property ThenStatement As TSqlStatement
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)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
Returns a TSqlStatement.

.NET Framework Security

See Also

Reference

IfStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace