OptimizeForOptimizerHint OptimizeForOptimizerHint OptimizeForOptimizerHint Class

Definition

Represents the OPTIMIZE FOR optimizer hint.

public ref class OptimizeForOptimizerHint : Microsoft::SqlServer::TransactSql::ScriptDom::OptimizerHint
public class OptimizeForOptimizerHint : Microsoft.SqlServer.TransactSql.ScriptDom.OptimizerHint
Public Class OptimizeForOptimizerHint
Inherits OptimizerHint
Inheritance
OptimizeForOptimizerHintOptimizeForOptimizerHintOptimizeForOptimizerHint

Constructors

OptimizeForOptimizerHint() OptimizeForOptimizerHint() OptimizeForOptimizerHint()

Initializes a new instance of the OptimizeForOptimizerHint class.

Properties

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)
IsForUnknown IsForUnknown IsForUnknown

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

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
Pairs Pairs Pairs

Gets a list of variable-value pairs.

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)

Methods

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.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to