ManagementClassDescription.QueryEnabled Property
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
'Usage
Dim instance As ManagementClassDescription
Dim value As Boolean
value = instance.QueryEnabled
instance.QueryEnabled = value
Syntax
'Declaration
<DefaultValueAttribute(False)> _
<XmlAttributeAttribute("QueryEnabled")> _
Public Property QueryEnabled As Boolean
[DefaultValueAttribute(false)]
[XmlAttributeAttribute("QueryEnabled")]
public bool QueryEnabled { get; set; }
[DefaultValueAttribute(false)]
[XmlAttributeAttribute(L"QueryEnabled")]
public:
property bool QueryEnabled {
bool get ();
void set (bool value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */
public boolean get_QueryEnabled ()
/** @property */
/** @attribute DebuggerStepThroughAttribute() */
public void set_QueryEnabled (boolean value)
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
Reference
ManagementClassDescription Class
ManagementClassDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace