Класс SelectStatementSnippet

Represents the select statement snippet.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.StatementWithCtesAndXmlNamespaces
        Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement
          Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatementSnippet

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class SelectStatementSnippet _
    Inherits SelectStatement
'Применение
Dim instance As SelectStatementSnippet
[SerializableAttribute]
public class SelectStatementSnippet : SelectStatement
[SerializableAttribute]
public ref class SelectStatementSnippet : public SelectStatement
[<SerializableAttribute>]
type SelectStatementSnippet =  
    class 
        inherit SelectStatement 
    end
public class SelectStatementSnippet extends SelectStatement

Тип SelectStatementSnippet обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод SelectStatementSnippet Initializes a new instance of the SelectStatementSnippet class.

В начало

Свойства

  Имя Описание
Открытое свойство ComputeClauses Gets or sets the compute by clauses. May have zero elements. (Производный от SelectStatement.)
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство Into Gets or sets the into table name. (Производный от SelectStatement.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство OptimizerHints Gets or sets the optional optimizer hints. (Производный от StatementWithCtesAndXmlNamespaces.)
Открытое свойство QueryExpression Gets or sets the main body of the select statement. (Производный от SelectStatement.)
Открытое свойство Script Gets the script of the statement.
Открытое свойство 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.)
Открытое свойство WithCtesAndXmlNamespaces Gets or sets the With common table expression and xml namespaces clause. Optional, may be nullпустая ссылка (Nothing в Visual Basic). (Производный от StatementWithCtesAndXmlNamespaces.)

В начало

Методы

  Имя Описание
Открытый метод Accept Accepts entry point for a given visitor. (Переопределяет SelectStatement.Accept(TSqlFragmentVisitor).)
Открытый метод AcceptChildren Calls Accepts on the children with the given visitor. (Переопределяет SelectStatement.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom