共用方式為


AutomaticTuningOptions Class

Definition

Automatic tuning properties for individual advisors.

public class AutomaticTuningOptions
type AutomaticTuningOptions = class
Public Class AutomaticTuningOptions
Inheritance
AutomaticTuningOptions

Constructors

AutomaticTuningOptions()

Initializes a new instance of the AutomaticTuningOptions class.

AutomaticTuningOptions(Nullable<AutomaticTuningOptionModeDesired>, Nullable<AutomaticTuningOptionModeActual>, Nullable<Int32>, Nullable<AutomaticTuningDisabledReason>)

Initializes a new instance of the AutomaticTuningOptions class.

Properties

ActualState

Gets automatic tuning option actual state. Possible values include: 'Off', 'On'

DesiredState

Gets or sets automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'

ReasonCode

Gets reason code if desired and actual state are different.

ReasonDesc

Gets reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'

Applies to