Compartir a través de


Clase AlterTableSwitchStatement

Represents the switch specialization of the ALTER TABLE statement.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado:  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class AlterTableSwitchStatement _
    Inherits AlterTableStatement
'Uso
Dim instance As AlterTableSwitchStatement
[SerializableAttribute]
public class AlterTableSwitchStatement : AlterTableStatement
[SerializableAttribute]
public ref class AlterTableSwitchStatement : public AlterTableStatement
[<SerializableAttribute>]
type AlterTableSwitchStatement =  
    class 
        inherit AlterTableStatement 
    end
public class AlterTableSwitchStatement extends AlterTableStatement

El tipo AlterTableSwitchStatement expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público AlterTableSwitchStatement Initializes a new instance of the AlterTableSwitchStatement class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública FirstTokenIndex Gets or sets the first token index. (Se hereda de TSqlFragment.)
Propiedad pública FragmentLength Gets the fragment length. (Se hereda de TSqlFragment.)
Propiedad pública LastTokenIndex Gets or sets the last token index. (Se hereda de TSqlFragment.)
Propiedad pública SchemaObjectName Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name. (Se hereda de AlterTableStatement.)
Propiedad pública ScriptTokenStream Gets or sets a list of token streams. (Se hereda de TSqlFragment.)
Propiedad pública SourcePartitionNumber Gets or sets the source partition number.
Propiedad pública StartColumn Gets the starting column. (Se hereda de TSqlFragment.)
Propiedad pública StartLine Gets the starting line. (Se hereda de TSqlFragment.)
Propiedad pública StartOffset Gets the fragment start offset value. (Se hereda de TSqlFragment.)
Propiedad pública TargetPartitionNumber Gets or sets the target partition number.
Propiedad pública TargetTable Gets or sets the target table name.

Arriba

Métodos

  Nombre Descripción
Método público Accept Indicates the entry point for a given visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).)
Método público AcceptChildren Calls Accept on the children with the given visitor. (Invalida AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom