Editar

Compartilhar via


ManagementObjectSearcher.Query Property

Definition

Gets or sets the query to be invoked in the searcher (that is, the criteria to be applied to the search for management objects).

public:
 property System::Management::ObjectQuery ^ Query { System::Management::ObjectQuery ^ get(); void set(System::Management::ObjectQuery ^ value); };
public System.Management.ObjectQuery Query { get; set; }
member this.Query : System.Management.ObjectQuery with get, set
Public Property Query As ObjectQuery

Property Value

The query to be invoked in the searcher.

Remarks

When the value of this property is changed, the ManagementObjectSearcher is reset to use the new query.

Property Value

The criteria to apply to the query.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to