Condividi tramite


Classe ViewStatementBody

Base class for CREATE/ALTER VIEW statement.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public MustInherit Class ViewStatementBody _
    Inherits TSqlStatement
'Utilizzo
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

Nel tipo ViewStatementBody sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo protetto ViewStatementBody Initializes a new instance of the ViewStatementBody class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Columns Gets or sets the columns for the view.
Proprietà pubblica FirstTokenIndex Gets or sets the first token index. Ereditato da TSqlFragment.
Proprietà pubblica FragmentLength Gets the fragment length. Ereditato da TSqlFragment.
Proprietà pubblica LastTokenIndex Gets or sets the last token index. Ereditato da TSqlFragment.
Proprietà pubblica SchemaObjectName Gets or sets the name of the view.
Proprietà pubblica ScriptTokenStream Gets or sets a list of token streams. Ereditato da TSqlFragment.
Proprietà pubblica SelectStatement Gets or sets the query expression that represents the select, with optional common table expression and xml namespaces clauses.
Proprietà pubblica StartColumn Gets the starting column. Ereditato da TSqlFragment.
Proprietà pubblica StartLine Gets the starting line. Ereditato da TSqlFragment.
Proprietà pubblica StartOffset Gets the fragment start offset value. Ereditato da TSqlFragment.
Proprietà pubblica ViewOptions Gets or sets the options in WITH clause.
Proprietà pubblica WithCheckOption Gets or sets a value that indicates whether With Check Option is defined.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Accept Indicates the entry point for a given visitor. Ereditato da TSqlFragment.
Metodo pubblico AcceptChildren Accepts visitor for Children. Esegue l'override di TSqlStatement.AcceptChildren(TSqlFragmentVisitor).
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.TransactSql.ScriptDom