Partager via


Propriété OptimizeAdhocWorkloads

Gets or sets a value that specifies whether optimization for ad hoc workloads is enabled.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Property OptimizeAdhocWorkloads As Boolean
    Get
    Set
'Utilisation
Dim instance As ServerAdapterBase
Dim value As Boolean

value = instance.OptimizeAdhocWorkloads

instance.OptimizeAdhocWorkloads = value
public bool OptimizeAdhocWorkloads { get; set; }
public:
virtual property bool OptimizeAdhocWorkloads {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract OptimizeAdhocWorkloads : bool with get, set
override OptimizeAdhocWorkloads : bool with get, set
final function get OptimizeAdhocWorkloads () : boolean
final function set OptimizeAdhocWorkloads (value : boolean)

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value whether ad hoc workload optimization is enabled.
If True, optimization is enabled. Otherwise, False.