QueryDescription.Query Property
Gets or sets the name of the query to run.
Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim instance As QueryDescription
Dim value As String
value = instance.Query
instance.Query = value
Syntax
'Declaration
<XmlElementAttribute("Query")> _
Public Property Query As String
[XmlElementAttribute("Query")]
public string Query { get; set; }
[XmlElementAttribute(L"Query")]
public:
property String^ Query {
String^ get ();
void set (String^ value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */
public String get_Query ()
/** @property */
/** @attribute DebuggerStepThroughAttribute() */
public void set_Query (String value)
DebuggerStepThroughAttribute
public function get Query () : String
DebuggerStepThroughAttribute
public function set Query (value : String)
Property Value
Query name string.
Remarks
The query can include replacement objects, as indicated by "##SUB:[property]##", or named values using "##SUB:NV:[Key]##". The specified property or key is replaced by the value of the property, of the same name, from the object in scope. There are also a number of predefined values that contain static properties.
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
QueryDescription Class
QueryDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace