LiteralOptimizerHint LiteralOptimizerHint LiteralOptimizerHint Class


Represents an optimizer hint, which can be represented as flag with optional literal value.

public ref class LiteralOptimizerHint : Microsoft::SqlServer::TransactSql::ScriptDom::OptimizerHint
public class LiteralOptimizerHint : Microsoft.SqlServer.TransactSql.ScriptDom.OptimizerHint
Public Class LiteralOptimizerHint
Inherits OptimizerHint


LiteralOptimizerHint() LiteralOptimizerHint() LiteralOptimizerHint()

Initializes a new instance of the LiteralOptimizerHint class.


FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
HintKind HintKind HintKind

Gets or sets the hint kind.

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

Gets the hint value.


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

Accepts the visitor.

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

Accepts the visitor for Children.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to