Класс BackupDatabaseStatement

Represents the BACKUP DATABASE statement.

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

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.BackupStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.BackupDatabaseStatement

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

Синтаксис

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

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство DatabaseName Gets or sets the database to back up. (Производный от BackupStatement.)
Открытое свойство Devices Gets or sets where backup should put data. (Производный от BackupStatement.)
Открытое свойство Files Gets a list of the files or file groups to back up.
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство MirrorToClauses Gets a list of where the backup should be mirrored. (Производный от BackupStatement.)
Открытое свойство Options Gets a list of backup statement options. (Производный от BackupStatement.)
Открытое свойство 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.)

В начало

Методы

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

В начало

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

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

См. также

Справочник

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