RestoreStatement RestoreStatement RestoreStatement Class

Definition

Represents the RESTORE/LOAD statement.

public ref class RestoreStatement : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlStatement
public class RestoreStatement : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Public Class RestoreStatement
Inherits TSqlStatement
Inheritance

Constructors

RestoreStatement() RestoreStatement() RestoreStatement()

Initializes a new instance of the RestoreStatement class.

Properties

DatabaseName DatabaseName DatabaseName

Gets or sets the database to restore (can be Identifier or variable Literal).

Devices Devices Devices

Gets a list from what devices we should restore.

Files Files Files

Gets a list of files/filegroups/pages to restore.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
Kind Kind Kind

Gets or sets the RESTORE statement kind.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
Options Options Options

Gets a list of restore statement options.

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)

Accepts a visit from the specified visitor.

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

Accepts a visit for the Children from the specified visitor.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to