Share via


NameFileDeclarationOption Class

Definition

The file declaration option for NAME or NEWNAME.

[System.Serializable]
public class NameFileDeclarationOption : Microsoft.SqlServer.TransactSql.ScriptDom.FileDeclarationOption
[<System.Serializable>]
type NameFileDeclarationOption = class
    inherit FileDeclarationOption
Public Class NameFileDeclarationOption
Inherits FileDeclarationOption
Inheritance
NameFileDeclarationOption
Attributes

Constructors

NameFileDeclarationOption()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
IsNewName

True if this is NEWNAME option (false in case of NAME)

LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
LogicalFileName

Option value (Literal or Identifer)

OptionKind

The file declaration option kind.

(Inherited from FileDeclarationOption)
ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)

Methods

Accept(TSqlFragmentVisitor)

Accepts visitor

AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to