CreateViewStatement Class
SQL Server 2012
Represents the CREATE VIEW statement.
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.ViewStatementBody
Microsoft.SqlServer.TransactSql.ScriptDom.CreateViewStatement
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)
The CreateViewStatement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Columns | Gets or sets the columns for the view. (Inherited from ViewStatementBody.) |
![]() | FirstTokenIndex | Gets or sets the first token index. (Inherited from TSqlFragment.) |
![]() | FragmentLength | Gets the fragment length. (Inherited from TSqlFragment.) |
![]() | LastTokenIndex | Gets or sets the last token index. (Inherited from TSqlFragment.) |
![]() | SchemaObjectName | Gets or sets the name of the view. (Inherited from ViewStatementBody.) |
![]() | ScriptTokenStream | Gets or sets a list of token streams. (Inherited from TSqlFragment.) |
![]() | SelectStatement | Gets or sets the query expression that represents the select, with optional common table expression and xml namespaces clauses. (Inherited from ViewStatementBody.) |
![]() | StartColumn | Gets the starting column. (Inherited from TSqlFragment.) |
![]() | StartLine | Gets the starting line. (Inherited from TSqlFragment.) |
![]() | StartOffset | Gets the fragment start offset value. (Inherited from TSqlFragment.) |
![]() | ViewOptions | Gets or sets the options in WITH clause. (Inherited from ViewStatementBody.) |
![]() | WithCheckOption | Gets or sets a value that indicates whether With Check Option is defined. (Inherited from ViewStatementBody.) |
| Name | Description | |
|---|---|---|
![]() | Accept | Indicates the entry point for a given visitor. (Overrides TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() | AcceptChildren | Calls Accept on the children with the given visitor. (Overrides ViewStatementBody.AcceptChildren(TSqlFragmentVisitor).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |

.gif?cs-save-lang=1&cs-lang=jscript)
.gif?cs-save-lang=1&cs-lang=jscript)
.gif?cs-save-lang=1&cs-lang=jscript)