Класс AlterDatabaseAddFileStatement

Represents the ADD FILE case of the ALTER DATABASE statement.

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

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseAddFileStatement

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

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class AlterDatabaseAddFileStatement _
    Inherits AlterDatabaseStatement
'Применение
Dim instance As AlterDatabaseAddFileStatement
[SerializableAttribute]
public class AlterDatabaseAddFileStatement : AlterDatabaseStatement
[SerializableAttribute]
public ref class AlterDatabaseAddFileStatement : public AlterDatabaseStatement
[<SerializableAttribute>]
type AlterDatabaseAddFileStatement =  
    class 
        inherit AlterDatabaseStatement 
    end
public class AlterDatabaseAddFileStatement extends AlterDatabaseStatement

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство DatabaseName Gets or sets the name of the database to alter. (Производный от AlterDatabaseStatement.)
Открытое свойство FileDeclarations Gets or sets the declarations of file to be added to the database.
Открытое свойство FileGroup Gets or sets the file group to which to add the specified file
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство IsLog Gets or sets whether the file to be added is a log file.
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)
Открытое свойство UseCurrent Gets or sets whether CURRENT is specified instead of Database Name. (Производный от AlterDatabaseStatement.)

В начало

Методы

  Имя Описание
Открытый метод Accept Accepts a visit from the specified visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).)
Открытый метод AcceptChildren Accepts a visit for the Children from the specified visitor. (Переопределяет AlterDatabaseStatement.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

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

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

См. также

Справочник

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