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
'Usage
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);
}
public function get ThenStatement () : TSqlStatement 
public 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

IfStatement Members

Microsoft.Data.Schema.ScriptDom.Sql Namespace