Compartilhar via


QueryBuilder.FilterByMaxPropertyValue Method

Definition

Modifies the query, so that it returns only objects that have a property value less than or equal to a maxPropertyValue threshold.

public:
 virtual void FilterByMaxPropertyValue(System::String ^ propertyName, System::Object ^ maxPropertyValue, Microsoft::PowerShell::Cmdletization::BehaviorOnNoMatch behaviorOnNoMatch);
public:
 virtual void FilterByMaxPropertyValue(Platform::String ^ propertyName, Platform::Object ^ maxPropertyValue, Microsoft::PowerShell::Cmdletization::BehaviorOnNoMatch behaviorOnNoMatch);
 virtual void FilterByMaxPropertyValue(std::wstring const & propertyName, winrt::Windows::Foundation::IInspectable const & maxPropertyValue, Microsoft::PowerShell::Cmdletization::BehaviorOnNoMatch behaviorOnNoMatch);
public virtual void FilterByMaxPropertyValue (string propertyName, object maxPropertyValue, Microsoft.PowerShell.Cmdletization.BehaviorOnNoMatch behaviorOnNoMatch);
abstract member FilterByMaxPropertyValue : string * obj * Microsoft.PowerShell.Cmdletization.BehaviorOnNoMatch -> unit
override this.FilterByMaxPropertyValue : string * obj * Microsoft.PowerShell.Cmdletization.BehaviorOnNoMatch -> unit
Public Overridable Sub FilterByMaxPropertyValue (propertyName As String, maxPropertyValue As Object, behaviorOnNoMatch As BehaviorOnNoMatch)

Parameters

propertyName
String

Property name to query on.

maxPropertyValue
Object

Maximum property value.

behaviorOnNoMatch
BehaviorOnNoMatch

Describes how to handle filters that didn't match any objects

Applies to