AlterDatabaseAddFileStatement AlterDatabaseAddFileStatement AlterDatabaseAddFileStatement Class

Definition

Represents the ADD FILE case of the ALTER DATABASE statement.

public ref class AlterDatabaseAddFileStatement : Microsoft::SqlServer::TransactSql::ScriptDom::AlterDatabaseStatement
public class AlterDatabaseAddFileStatement : Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseStatement
Public Class AlterDatabaseAddFileStatement
Inherits AlterDatabaseStatement
Inheritance

Constructors

AlterDatabaseAddFileStatement() AlterDatabaseAddFileStatement() AlterDatabaseAddFileStatement()

Initializes a new instance of the AlterDatabaseAddFileStatement class.

Properties

DatabaseName DatabaseName DatabaseName

Gets or sets the name of the database to alter.

(Inherited from AlterDatabaseStatement)
FileDeclarations FileDeclarations FileDeclarations

Gets or sets the declarations of file to be added to the database.

FileGroup FileGroup FileGroup

Gets or sets the file group to which to add the specified file

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
IsLog IsLog IsLog

Gets or sets whether the file to be added is a log file.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
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)
UseCurrent UseCurrent UseCurrent

Gets or sets whether CURRENT is specified instead of Database Name.

(Inherited from AlterDatabaseStatement)

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