다음을 통해 공유


IfStatement.ThenStatement 속성

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

네임스페이스:  Microsoft.SqlServer.TransactSql.ScriptDom
어셈블리:  Microsoft.SqlServer.TransactSql.ScriptDom(Microsoft.SqlServer.TransactSql.ScriptDom.dll)

구문

‘선언
Public Property ThenStatement As TSqlStatement 
    Get 
    Set
‘사용 방법
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)

속성 값

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

참고 항목

참조

IfStatement 클래스

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스