AlterTableAddTableElementStatement AlterTableAddTableElementStatement AlterTableAddTableElementStatement Class

Definition

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

public ref class AlterTableAddTableElementStatement : Microsoft::SqlServer::TransactSql::ScriptDom::AlterTableStatement
public class AlterTableAddTableElementStatement : Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Public Class AlterTableAddTableElementStatement
Inherits AlterTableStatement
Inheritance
AlterTableAddTableElementStatementAlterTableAddTableElementStatementAlterTableAddTableElementStatement

Constructors

AlterTableAddTableElementStatement() AlterTableAddTableElementStatement() AlterTableAddTableElementStatement()

Initializes a new instance of the AlterTableAddTableElementStatement class.

Properties

Definition Definition Definition

Gets the table definition containing the column and constraint definitions.

ExistingRowsCheckEnforcement ExistingRowsCheckEnforcement ExistingRowsCheckEnforcement

Sets whether the data in the table is validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
SchemaObjectName SchemaObjectName SchemaObjectName

Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name.

(Inherited from AlterTableStatement)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts the visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts the visitor for Children.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to