Класс SqlScriptGeneratorOptions

Controls the options for Sql Script Generation.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.SqlScriptGeneratorOptions

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
Public Class SqlScriptGeneratorOptions
'Применение
Dim instance As SqlScriptGeneratorOptions
public class SqlScriptGeneratorOptions
public ref class SqlScriptGeneratorOptions
type SqlScriptGeneratorOptions =  class end
public class SqlScriptGeneratorOptions

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство AlignClauseBodies Gets or sets a value that indicates whether the bodies of FROM, WHERE, GROUP BY, clauses are aligned.
Открытое свойство AlignColumnDefinitionFields Gets or sets a value that indicates whether column definition fields (column name, data type, constraints) are aligned into alignment columns.
Открытое свойство AlignSetClauseItem Gets or sets a value that indicates whether the SET clause items in an UPDATE statement is aligned.
Открытое свойство AsKeywordOnOwnLine Gets or sets a value that indicates whether the AS keyword is written on its own line.
Открытое свойство IncludeSemicolons Gets or sets a value that indicates whether a semi colon is included after each statement.
Открытое свойство IndentationSize Gets or sets the number of spaces to use when indenting text.
Открытое свойство IndentSetClause Gets or sets a value that indicates whether the SET clause for an UPDATE statement is indented.
Открытое свойство IndentViewBody Gets or sets a value that indicates whether the view statement body is indented.
Открытое свойство KeywordCasing Gets or sets the keyword casing option to use during script generation.
Открытое свойство MultilineInsertSourcesList Gets or sets a value that indicates whether the INSERT column sources list is spread across multiple lines.
Открытое свойство MultilineInsertTargetsList Gets or sets a value that indicates whether the INSERT column targets list is spread across multiple lines.
Открытое свойство MultilineSelectElementsList Gets or sets a value that indicates whether select elements are listed as multi-line list.
Открытое свойство MultilineSetClauseItems Gets or sets a value that indicates whether the SET clause items are listed on multiple lines.
Открытое свойство MultilineViewColumnsList Gets or sets a value that indicates whether the view statement columns are listed as a multi-line list.
Открытое свойство MultilineWherePredicatesList Gets or sets a value that indicates whether WHERE predicates (expressions separated by AND, and OR) are written on multiple lines.
Открытое свойство NewLineBeforeCloseParenthesisInMultilineList Gets or sets a value that indicates whether a newline is placed before a close parenthesis when writing a multi-line list in parenthesis.
Открытое свойство NewLineBeforeFromClause Gets or sets a value that indicates whether a newline exists before the FROM clause in a SELECT statement.
Открытое свойство NewLineBeforeGroupByClause Gets or sets a value that indicates whether a newline exists before the GROUP BY clause in a SELECT statement.
Открытое свойство NewLineBeforeHavingClause Gets or sets a value that indicates whether a newline exists before the HAVING clause in a SELECT statement.
Открытое свойство NewLineBeforeJoinClause Gets or sets a value that indicates whether a newline exists before the JOIN clause in a SELECT statement.
Открытое свойство NewLineBeforeOffsetClause Gets or sets a value that indicates whether a newline exists before the OFFSET clause.
Открытое свойство NewLineBeforeOpenParenthesisInMultilineList Gets or sets a value that indicates whether a newline is placed before an open parenthesis when writing a multi-line list in parenthesis.
Открытое свойство NewLineBeforeOrderByClause Gets or sets a value that indicates whether a newline exists before the ORDER BY clause in a SELECT statement.
Открытое свойство NewLineBeforeOutputClause Gets or sets a value that indicates whether a newline exists before the OUTPUT clause.
Открытое свойство NewLineBeforeWhereClause Gets or sets a value that indicates whether a newline exists before the WHERE clause in a SELECT statement.
Открытое свойство SqlVersion Gets or sets the Sql version to generate script for.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Reset Resets the options to their default value.
Открытый метод ToString (Производный от Object.)

В начало

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

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

См. также

Справочник

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