Класс StatementListSnippet

Represents the placeholder for an arbitrary statement list.

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

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.StatementList
      Microsoft.SqlServer.TransactSql.ScriptDom.StatementListSnippet

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

Синтаксис

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

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство 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.)
Открытое свойство Statements Gets or sets a list of statements, possibly empty. (Производный от StatementList.)

В начало

Методы

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

В начало

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

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

См. также

Справочник

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