QueryBuilder Class

QueryBuilder Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Supports the building of object model queries in an object model-agnostic manner. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Cmdletization
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  Microsoft.PowerShell.Cmdletization.QueryBuilder
    Microsoft.PowerShell.Cmdletization.OData.ODataQueryBuilder

public abstract class QueryBuilder

NameDescription
System_CAPS_protmethodQueryBuilder()

Initializes a new instance of the QueryBuilder class. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodAddQueryOption(String, Object)

Adds a query option. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExcludeByProperty(String, IEnumerable, Boolean, BehaviorOnNoMatch)

Modifies the query so that it does not return objects with a given property value. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodFilterByAssociatedInstance(Object, String, String, String, BehaviorOnNoMatch)

Modifies the query so that it returns only objects associated with an instance. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodFilterByMaxPropertyValue(String, Object, BehaviorOnNoMatch)

Modifies the query so that it returns only objects that have a property value less than or equal to a value. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodFilterByMinPropertyValue(String, Object, BehaviorOnNoMatch)

Modifies the query so that it returns only objects that have a property value greater than or equal to a value. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodFilterByProperty(String, IEnumerable, Boolean, BehaviorOnNoMatch)

Modifies the query so that it only returns objects with a given property value. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft