Compartir a través de


Clase ViewStatementBody

Base class for CREATE/ALTER VIEW statement.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.ViewStatementBody
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterViewStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.CreateViewStatement

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 ViewStatementBody _
    Inherits TSqlStatement
'Uso
Dim instance As ViewStatementBody
[SerializableAttribute]
public abstract class ViewStatementBody : TSqlStatement
[SerializableAttribute]
public ref class ViewStatementBody abstract : public TSqlStatement
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type ViewStatementBody =  
    class 
        inherit TSqlStatement 
    end
public abstract class ViewStatementBody extends TSqlStatement

El tipo ViewStatementBody expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido ViewStatementBody Initializes a new instance of the ViewStatementBody class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Columns Gets or sets the columns for the view.
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 view.
Propiedad pública ScriptTokenStream Gets or sets a list of token streams. (Se hereda de TSqlFragment.)
Propiedad pública SelectStatement Gets or sets the query expression that represents the select, with optional common table expression and xml namespaces clauses.
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 ViewOptions Gets or sets the options in WITH clause.
Propiedad pública WithCheckOption Gets or sets a value that indicates whether With Check Option is defined.

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 visitor for Children. (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