Partager via


AlterTableSwitchStatement Class

Definition

Switch specialization of Alter Table statement.

[System.Serializable]
public class AlterTableSwitchStatement : Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
[<System.Serializable>]
type AlterTableSwitchStatement = class
    inherit AlterTableStatement
Public Class AlterTableSwitchStatement
Inherits AlterTableStatement
Inheritance
Attributes

Constructors

AlterTableSwitchStatement()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
Options

The collection of alter table switch options.

SchemaObjectName

The name of the type, this can be at most a two part name.

(Inherited from AlterTableStatement)
ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
SourcePartitionNumber

Represents the source partition number. Optional may be null.

StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)
TargetPartitionNumber

Represents the target partition number. Optional may be null.

TargetTable

The name of the target table.

Methods

Accept(TSqlFragmentVisitor)

Accepts visitor

AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to