Skip to main content
Skip table of contents

PropertyComparator Enum

Specifies logical comparators used to compare property values.


CODE
public enum PropertyComparator

Fields

Equals

0

Supplied value is equal to the database value.

NotEquals

1

Supplied value is not equal to the database value.

Contains

2

Supplied value contains the database value.

GreaterThan

3

Supplied value is greater than the database value.

GreaterThanOrEqualTo

4

Supplied value is greater than or equal to the database value.

LessThan

5

Supplied value is less than the database value.

LessThanOrEqualTo

6

Supplied value is less than or equal to the database value.


Example

The following example demonstrates passing a PropertyComparator to the GetProcessesByProperty method.

CODE
var processes = Database.GetProcessesByProperty("Name", "John", PropertyComparator.Equals);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.