Share via


SelectScalarExpression 클래스

Represents the column element that is used right after the select keyword.

상속 계층

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.SelectElement
      Microsoft.SqlServer.TransactSql.ScriptDom.SelectScalarExpression

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

구문

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

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

생성자

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

맨 위로 이동

속성

  이름 설명
공용 속성 ColumnName Gets or sets an Identifier or a literal of type AsciiStringLiteral or UnicodeStringLiteral. Optional, may be nullnull 참조(Visual Basic에서는 Nothing).
공용 속성 Expression Gets or sets a select expression that can be any expression, if this is non-null then this select expression is a regular expression. At present this AST class expresses either an expression or a wildcard. Because a SelectExpressions can do so much more, we may want to go to a derivation approach, where this class would be a base -- or there may be another more elegant approach. For now, this is a basic design to support SELECT * FROM foo.
공용 속성 FirstTokenIndex Gets or sets the first token index. (TSqlFragment에서 상속됨)
공용 속성 FragmentLength Gets the fragment length. (TSqlFragment에서 상속됨)
공용 속성 LastTokenIndex Gets or sets the last token index. (TSqlFragment에서 상속됨)
공용 속성 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에서 상속됨)

맨 위로 이동

메서드

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

맨 위로 이동

스레드 보안

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

참고 항목

참조

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