Freigeben über


CreateViewStatement-Klasse

Represents the CREATE VIEW statement.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class CreateViewStatement _
    Inherits ViewStatementBody
'Usage
Dim instance As CreateViewStatement
[SerializableAttribute]
public class CreateViewStatement : ViewStatementBody
[SerializableAttribute]
public ref class CreateViewStatement : public ViewStatementBody
[<SerializableAttribute>]
type CreateViewStatement =  
    class 
        inherit ViewStatementBody 
    end
public class CreateViewStatement extends ViewStatementBody

Der CreateViewStatement-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode CreateViewStatement Initializes a new instance of the CreateViewStatement class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Columns Gets or sets the columns for the view. (Geerbt von ViewStatementBody.)
Öffentliche Eigenschaft FirstTokenIndex Gets or sets the first token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft FragmentLength Gets the fragment length. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft LastTokenIndex Gets or sets the last token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft SchemaObjectName Gets or sets the name of the view. (Geerbt von ViewStatementBody.)
Öffentliche Eigenschaft ScriptTokenStream Gets or sets a list of token streams. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft SelectStatement Gets or sets the query expression that represents the select, with optional common table expression and xml namespaces clauses. (Geerbt von ViewStatementBody.)
Öffentliche Eigenschaft StartColumn Gets the starting column. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartLine Gets the starting line. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartOffset Gets the fragment start offset value. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft ViewOptions Gets or sets the options in WITH clause. (Geerbt von ViewStatementBody.)
Öffentliche Eigenschaft WithCheckOption Gets or sets a value that indicates whether With Check Option is defined. (Geerbt von ViewStatementBody.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept Indicates the entry point for a given visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).)
Öffentliche Methode AcceptChildren Calls Accept on the children with the given visitor. (Überschreibt ViewStatementBody.AcceptChildren(TSqlFragmentVisitor).)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace