AlterTableSwitchStatement Class
SQL Server 2012
Represents the switch specialization of the ALTER TABLE statement.
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableSwitchStatement
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableSwitchStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
The AlterTableSwitchStatement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AlterTableSwitchStatement | Initializes a new instance of the AlterTableSwitchStatement class. |
| Name | Description | |
|---|---|---|
![]() | FirstTokenIndex | Gets or sets the first token index. (Inherited from TSqlFragment.) |
![]() | FragmentLength | Gets the fragment length. (Inherited from TSqlFragment.) |
![]() | LastTokenIndex | Gets or sets the last token index. (Inherited from TSqlFragment.) |
![]() | 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 | Gets or sets a list of token streams. (Inherited from TSqlFragment.) |
![]() | SourcePartitionNumber | Gets or sets the source partition number. |
![]() | StartColumn | Gets the starting column. (Inherited from TSqlFragment.) |
![]() | StartLine | Gets the starting line. (Inherited from TSqlFragment.) |
![]() | StartOffset | Gets the fragment start offset value. (Inherited from TSqlFragment.) |
![]() | TargetPartitionNumber | Gets or sets the target partition number. |
![]() | TargetTable | Gets or sets the target table name. |
| Name | Description | |
|---|---|---|
![]() | Accept | Indicates the entry point for a given visitor. (Overrides TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() | AcceptChildren | Calls Accept on the children with the given visitor. (Overrides AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |



