BackupDatabaseStatement BackupDatabaseStatement BackupDatabaseStatement Class

Definition

Represents the BACKUP DATABASE statement.

public ref class BackupDatabaseStatement : Microsoft::SqlServer::TransactSql::ScriptDom::BackupStatement
public class BackupDatabaseStatement : Microsoft.SqlServer.TransactSql.ScriptDom.BackupStatement
Public Class BackupDatabaseStatement
Inherits BackupStatement
Inheritance

Constructors

BackupDatabaseStatement() BackupDatabaseStatement() BackupDatabaseStatement()

Initializes a new instance of the BackupDatabaseStatement class.

Properties

DatabaseName DatabaseName DatabaseName

Gets or sets the database to back up.

(Inherited from BackupStatement)
Devices Devices Devices

Gets or sets where backup should put data.

(Inherited from BackupStatement)
Files Files Files

Gets a list of the files or file groups to back up.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
MirrorToClauses MirrorToClauses MirrorToClauses

Gets a list of where the backup should be mirrored.

(Inherited from BackupStatement)
Options Options Options

Gets a list of backup statement options.

(Inherited from BackupStatement)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to