Partilhar via


QueryDescription.QueryPriority Property

Gets or sets the relative priority of the query in relation to other queries in the same node definition.

Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As QueryDescription
Dim value As Integer

value = instance.QueryPriority

instance.QueryPriority = value

Syntax

'Declaration
<XmlAttributeAttribute("Priority")> _
<DefaultValueAttribute(0)> _
Public Property QueryPriority As Integer
[XmlAttributeAttribute("Priority")] 
[DefaultValueAttribute(0)] 
public int QueryPriority { get; set; }
[XmlAttributeAttribute(L"Priority")] 
[DefaultValueAttribute(0)] 
public:
property int QueryPriority {
    int get ();
    void set (int value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public int get_QueryPriority ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_QueryPriority (int value)
DebuggerStepThroughAttribute 
public function get QueryPriority () : int

DebuggerStepThroughAttribute 
public function set QueryPriority (value : int)

Property Value

Query priority.

Remarks

In evaluation of query priority, the lowest value indicates the highest priority. All queries having the same priority run simultaneously. When the set is completed, the query with the next higher priority runs. A maximum of 50 runs is allowed.

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