Compartir a través de


Clase IndexStatement

Represents the base for CREATE INDEX statements.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.IndexStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterIndexStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.CreateIndexStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.CreateSelectiveXmlIndexStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.CreateXmlIndexStatement

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

Sintaxis

'Declaración
<SerializableAttribute> _
Public MustInherit Class IndexStatement _
    Inherits TSqlStatement
'Uso
Dim instance As IndexStatement
[SerializableAttribute]
public abstract class IndexStatement : TSqlStatement
[SerializableAttribute]
public ref class IndexStatement abstract : public TSqlStatement
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type IndexStatement =  
    class 
        inherit TSqlStatement 
    end
public abstract class IndexStatement extends TSqlStatement

El tipo IndexStatement expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido IndexStatement Initializes a new instance of the IndexStatement 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 IndexOptions Gets a list of index options. Optional may have zero elements.
Propiedad pública LastTokenIndex Gets or sets the last token index. (Se hereda de TSqlFragment.)
Propiedad pública Name Gets the name of the index.
Propiedad pública OnName Gets or sets the table or view name that comes after the ON keyword.
Propiedad pública ScriptTokenStream Gets or sets a list of token streams. (Se hereda de TSqlFragment.)
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.)

Arriba

Métodos

  Nombre Descripción
Método público Accept Indicates the entry point for a given visitor. (Se hereda de TSqlFragment.)
Método público AcceptChildren Accepts a visit for the Children from the specified visitor. (Invalida TSqlStatement.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