NameFileDeclarationOption NameFileDeclarationOption NameFileDeclarationOption Class


Represents the file declaration option for NAME or NEWNAME.

public ref class NameFileDeclarationOption : Microsoft::SqlServer::TransactSql::ScriptDom::FileDeclarationOption
public class NameFileDeclarationOption : Microsoft.SqlServer.TransactSql.ScriptDom.FileDeclarationOption
Public Class NameFileDeclarationOption
Inherits FileDeclarationOption


NameFileDeclarationOption() NameFileDeclarationOption() NameFileDeclarationOption()

Initializes a new instance of the NameFileDeclarationOption class.


FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
IsNewName IsNewName IsNewName

Gets or sets a value that indicates whether NEWNAME is specified.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
LogicalFileName LogicalFileName LogicalFileName

Gets or sets the logical file name.

OptionKind OptionKind OptionKind

Gets or sets the file declaration option kind.

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

Indicates the entry point for a given visitor.

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

Calls Accept on the children with the given visitor.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to