Share via


IfStatement.ElseStatement Property

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

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

Syntax

'Declaration
Public Property ElseStatement As TSqlStatement
'Usage
Dim instance As IfStatement 
Dim value As TSqlStatement 

value = instance.ElseStatement

instance.ElseStatement = value
public TSqlStatement ElseStatement { get; set; }
public:
property TSqlStatement^ ElseStatement {
    TSqlStatement^ get ();
    void set (TSqlStatement^ value);
}
public function get ElseStatement () : TSqlStatement 
public function set ElseStatement (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