Share via


ResourcePoolAffinitySpecification Class

Definition

Represents the resource pool statement affinity specification.

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

Constructors

ResourcePoolAffinitySpecification()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

AffinityType

The type of AFFINITY: SCHEDULERS or NUMANODE.

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

Whether the affinity has been specified as AUTO.

LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
ParameterValue

The value of the parameter.

PoolAffinityRanges

The list of singleton values or ranges for the affinity.

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