Partager via


ViewStatementBody Class

Definition

Base class for CREATE/ALTER VIEW statement.

[System.Serializable]
public abstract class ViewStatementBody : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
[<System.Serializable>]
type ViewStatementBody = class
    inherit TSqlStatement
Public MustInherit Class ViewStatementBody
Inherits TSqlStatement
Inheritance
ViewStatementBody
Derived
Attributes

Constructors

ViewStatementBody()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

Columns

The columns for the view.

FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
IsMaterialized

Whether the view is SQL DW materialized or not.

LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
SchemaObjectName

The name of the view.

ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
SelectStatement

The query expression that represents the select, with optiona common table expression and xml namespaces clauses.

StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)
ViewOptions

Options in WITH clause

WithCheckOption

True if With Check Option is defined.

Methods

Accept(TSqlFragmentVisitor)

Accepts the specified visitor.

(Inherited from TSqlFragment)
AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to