FileDeclaration FileDeclaration FileDeclaration Class


Represents a single file declaration in CREATE DATABASE statement.

public ref class FileDeclaration : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlFragment
public class FileDeclaration : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public Class FileDeclaration
Inherits TSqlFragment


FileDeclaration() FileDeclaration() FileDeclaration()

Initializes a new instance of the FileDeclaration class.


FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
IsPrimary IsPrimary IsPrimary

Gets or sets whether a file declaration belongs to a primary file group.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
Options Options Options

Gets a list of the options that make up the declaration.

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)


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.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to