Share via


RemoveCimInstanceCommand.Query Property

 

Gets and sets the Query parameter, which specifies a query to run on the CIM server. You can specify the query dialect using the QueryDialect parameter.

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Syntax

[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "QueryComputerSet")]
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "QuerySessionSet")]
public string Query { get; set; }
public:
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "QueryComputerSet")]
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "QuerySessionSet")]
property String^ Query {
    String^ get();
    void set(String^ value);
}
[<ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "QueryComputerSet")>]
[<ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "QuerySessionSet")>]
member Query : string with get, set
<ParameterAttribute(Mandatory := True, Position := 0, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "QueryComputerSet")>
<ParameterAttribute(Mandatory := True, Position := 0, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "QuerySessionSet")>
Public Property Query As String

Property Value

Type: System.String

Returns String.

See Also

RemoveCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top