CreateViewStatement CreateViewStatement CreateViewStatement Class


Represents the CREATE VIEW statement.

public ref class CreateViewStatement : Microsoft::SqlServer::TransactSql::ScriptDom::ViewStatementBody
public class CreateViewStatement : Microsoft.SqlServer.TransactSql.ScriptDom.ViewStatementBody
Public Class CreateViewStatement
Inherits ViewStatementBody


CreateViewStatement() CreateViewStatement() CreateViewStatement()

Initializes a new instance of the CreateViewStatement class.


Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.


Columns Columns Columns

Gets or sets the columns for the view.

(Inherited from ViewStatementBody)
FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
SchemaObjectName SchemaObjectName SchemaObjectName

Gets or sets the name of the view.

(Inherited from ViewStatementBody)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
SelectStatement SelectStatement SelectStatement

Gets or sets the query expression that represents the select, with optional common table expression and xml namespaces clauses.

(Inherited from ViewStatementBody)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
ViewOptions ViewOptions ViewOptions

Gets or sets the options in WITH clause.

(Inherited from ViewStatementBody)
WithCheckOption WithCheckOption WithCheckOption

Gets or sets a value that indicates whether With Check Option is defined.

(Inherited from ViewStatementBody)


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to