BackupOption BackupOption BackupOption Class

Definition

Represents a single option in BACKUP statement.

public ref class BackupOption : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlFragment
public class BackupOption : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public Class BackupOption
Inherits TSqlFragment
Inheritance
BackupOptionBackupOptionBackupOption
Derived

Constructors

BackupOption() BackupOption() BackupOption()

Initializes a new instance of the BackupOption class.

Properties

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)
OptionKind OptionKind OptionKind

Gets or sets the actual option kind.

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)
Value Value Value

Gets or sets the option value. It can be null for certain options.

Methods

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

Accepts the visitor.

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

Accepts the visitor for Children.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to