Класс AlterTableAddTableElementStatement

Adds a table element specialization of an alter table statement. Has column and constraint definitions.

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

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableAddTableElementStatement

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

Синтаксис

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

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство Definition Gets the table definition containing the column and constraint definitions.
Открытое свойство ExistingRowsCheckEnforcement Sets whether the data in the table is validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint.
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство SchemaObjectName Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name. (Производный от AlterTableStatement.)
Открытое свойство 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 the visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).)
Открытый метод AcceptChildren Accepts the visitor for Children. (Переопределяет AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

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

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

См. также

Справочник

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