AlterTableSwitchStatement AlterTableSwitchStatement AlterTableSwitchStatement Class


Represents the switch specialization of the ALTER TABLE statement.

public ref class AlterTableSwitchStatement : Microsoft::SqlServer::TransactSql::ScriptDom::AlterTableStatement
public class AlterTableSwitchStatement : Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Public Class AlterTableSwitchStatement
Inherits AlterTableStatement


AlterTableSwitchStatement() AlterTableSwitchStatement() AlterTableSwitchStatement()

Initializes a new instance of the AlterTableSwitchStatement class.


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)
Options Options Options

Gets or sets the collection of alter table switch options.

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)
SourcePartitionNumber SourcePartitionNumber SourcePartitionNumber

Gets or sets the source partition number. Optional maybe null.

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)
TargetPartitionNumber TargetPartitionNumber TargetPartitionNumber

Gets or sets the target partition number. Optional maybe null.

TargetTable TargetTable TargetTable

Gets or sets the target table name.


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

Indicates the entry point for a given visitor.

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

Calls Accept on the children with the given visitor.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to