Класс CreateViewStatement

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
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class CreateViewStatement _
    Inherits ViewStatementBody
'Применение
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

Тип CreateViewStatement обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод CreateViewStatement Initializes a new instance of the CreateViewStatement class.

В начало

Свойства

  Имя Описание
Открытое свойство Columns Gets or sets the columns for the view. (Производный от ViewStatementBody.)
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство SchemaObjectName Gets or sets the name of the view. (Производный от ViewStatementBody.)
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство SelectStatement Gets or sets the query expression that represents the select, with optional common table expression and xml namespaces clauses. (Производный от ViewStatementBody.)
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)
Открытое свойство ViewOptions Gets or sets the options in WITH clause. (Производный от ViewStatementBody.)
Открытое свойство WithCheckOption Gets or sets a value that indicates whether With Check Option is defined. (Производный от ViewStatementBody.)

В начало

Методы

  Имя Описание
Открытый метод Accept Indicates the entry point for a given visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).)
Открытый метод AcceptChildren Calls Accept on the children with the given visitor. (Переопределяет ViewStatementBody.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom