共用方式為


OptimizeAdhocWorkloads 屬性

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Property OptimizeAdhocWorkloads As Boolean
    Get
    Set
'用途
Dim instance As IServerConfigurationFacet
Dim value As Boolean

value = instance.OptimizeAdhocWorkloads

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

屬性值

型別:System. . :: . .Boolean