Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the statement that will be executed if the predicate evaluates true.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property ThenStatement As TSqlStatement
Get
Set
'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);
}
member ThenStatement : TSqlStatement with get, set
function get ThenStatement () : TSqlStatement
function set ThenStatement (value : TSqlStatement)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
The statement that will be executed.