Share via


GetCimInstanceCommand.Filter Property

 

Gets and sets the Filter property, which specifies the WHERE close of the query.

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

Syntax

[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameComputerSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriComputerSet")]
public string Filter { get; set; }
public:
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameComputerSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriComputerSet")]
property String^ Filter {
    String^ get();
    void set(String^ value);
}
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameSessionSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameComputerSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriSessionSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriComputerSet")>]
member Filter : string with get, set
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ClassNameSessionSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ClassNameComputerSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ResourceUriSessionSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ResourceUriComputerSet")>
Public Property Filter As String

Property Value

Type: System.String

Returns String.

See Also

GetCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top