IfStatement 클래스

Represents the if statement.

상속 계층

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.IfStatement

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

구문

‘선언
<SerializableAttribute> _
Public Class IfStatement _
    Inherits TSqlStatement
‘사용 방법
Dim instance As IfStatement
[SerializableAttribute]
public class IfStatement : TSqlStatement
[SerializableAttribute]
public ref class IfStatement : public TSqlStatement
[<SerializableAttribute>]
type IfStatement =  
    class 
        inherit TSqlStatement 
    end
public class IfStatement extends TSqlStatement

IfStatement 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 IfStatement Initializes a new instance of the IfStatement class.

맨 위로 이동

속성

  이름 설명
공용 속성 ElseStatement Gets the statement that will be executed if the predicate evaluates false. Optional, may be nullnull 참조(Visual Basic에서는 Nothing).
공용 속성 FirstTokenIndex Gets or sets the first token index. (TSqlFragment에서 상속됨)
공용 속성 FragmentLength Gets the fragment length. (TSqlFragment에서 상속됨)
공용 속성 LastTokenIndex Gets or sets the last token index. (TSqlFragment에서 상속됨)
공용 속성 Predicate Gets the expression that is the predicate for the if statement. This should be a boolean expression.
공용 속성 ScriptTokenStream Gets or sets a list of token streams. (TSqlFragment에서 상속됨)
공용 속성 StartColumn Gets the starting column. (TSqlFragment에서 상속됨)
공용 속성 StartLine Gets the starting line. (TSqlFragment에서 상속됨)
공용 속성 StartOffset Gets the fragment start offset value. (TSqlFragment에서 상속됨)
공용 속성 ThenStatement Gets the statement that will be executed if the predicate evaluates true.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Accept Accepts the visitor. (TSqlFragment.Accept(TSqlFragmentVisitor)을(를) 재정의함)
공용 메서드 AcceptChildren Accepts the visitor for Children. (TSqlStatement.AcceptChildren(TSqlFragmentVisitor)을(를) 재정의함)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

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