Gets or sets a value that indicates whether the management class is
query-enabled.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
Dim instance As ManagementClassDescription
Dim value As Boolean
value = instance.QueryEnabled
instance.QueryEnabled = value
|
Syntax
Visual Basic |
<DefaultValueAttribute(False)> _
<XmlAttributeAttribute("QueryEnabled")> _
Public Property QueryEnabled As Boolean
|
C# |
[DefaultValueAttribute(false)]
[XmlAttributeAttribute("QueryEnabled")]
public bool QueryEnabled { get; set; }
|
C++ |
[DefaultValueAttribute(false)]
[XmlAttributeAttribute(L"QueryEnabled")]
public:
property bool QueryEnabled {
bool get ();
void set (bool value);
}
|
J# |
/** @property */
/** @attribute DebuggerStepThroughAttribute() */
public boolean get_QueryEnabled ()
/** @property */
/** @attribute DebuggerStepThroughAttribute() */
public void set_QueryEnabled (boolean value)
|
JScript |
DebuggerStepThroughAttribute
public function get QueryEnabled () : boolean
DebuggerStepThroughAttribute
public function set QueryEnabled (value : boolean)
|
Property Value
true if the management class is query-enabled; otherwise
false.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also