SearchOperator Enumeration

 

Specifies the operator for a search criteria. This is the operator to use to evaluate the property in a search operation.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Syntax

public enum SearchOperator
public enum class SearchOperator
type SearchOperator
Public Enumeration SearchOperator

Members

Member name Description
Contains

The search property contains the specified search value.

Equals

The search property is equal to the specified search value.

NotContains

The search property does not contain the specified search value.

NotEquals

The search property is not equal to the specified search value.

Remarks

You use the SearchOperator values to define the search operator in search criteria that you add to a GPSearchCriteria object. Valid values depend on the type of object for which the search is being performed. For more information, see the Add method.

See Also

Microsoft.GroupPolicy Namespace

Return to top