ServerAdapterBase.OptimizeAdhocWorkloads 属性
Gets or sets a value that specifies whether optimization for ad hoc workloads is enabled.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Property OptimizeAdhocWorkloads As Boolean
Get
Set
用法
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)
属性值
类型:System.Boolean
A Boolean value whether ad hoc workload optimization is enabled.If True, optimization is enabled. Otherwise, False.
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间