This documentation is archived and is not being maintained.

ConditionOperator Enumeration (CrmService)

Forefront
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Specifies the possible values for the operator in a condition expression.

Syntax

[Visual Basic .NET]
Public Enum ConditionOperator
[C#]
public enum ConditionOperator

Members

NameValueDescription
Between10Specifies that the value is between two values.
Equal0Specifies that two expressions are compared for equality.
EqualBusinessId0x2bSpecifies that the value is equal to the specified business ID.
EqualUserId0x29Specifies that the value is equal to the specified user ID.
EqualUserLanguage0x2dSpecifies that the value is equal to the language for the user.
GreaterEqual4Specifies that two expressions are compared for greater than or equal to conditions.
GreaterThan2Specifies that two expressions are compared for the greater than condition.
In8Specifies that a given value is matched to a value in a list.
Last7Days0x11Specifies that a date range consists of last seven days including today.
LastMonth0x16Specifies that a date range consist of last month including first day of the last month and last day of the last month.
LastWeek0x13Specifies that a date range consists of previous week including Sunday through Saturday.
LastXDays0x21Specifies that a date range consists of last X days.
LastXHours0x1fSpecifies that a date range consists of last X hours.
LastXMonths0x25Specifies that a date range consists of last X months.
LastXWeeks0x23Specifies that a date range consists of last X weeks.
LastXYears0x27Specifies that a date range consists of last X years.
LastYear0x1cSpecifies that a date range consists of previous year.
LessEqual5Specifies that two expressions are compared for greater than or equal to conditions.
LessThan3Specifies that two expressions are compared for a less than condition.
Like6Specifies that the character string is matched to a specified pattern.
Next7Days0x12Specifies that a date range consists of the next seven days.
NextMonth0x18Specifies that a date range consists of next month.
NextWeek0x15Specifies that a date range consists of next week.
NextXDays0x22Specifies that a date range consists of the next X hours.
NextXHours0x20Specifies that a date range consists of the next X hours.
NextXMonths0x26Specifies that a date range consists of the next X months.
NextXWeeks0x24Specifies that a date range consists of the next X weeks.
NextXYears40Specifies that a date range consists of the next X years.
NextYear30Specifies that a date range consists of next year.
NotBetween11Specifies that the value is not between two values.
NotEqual1Specifies that two expressions are compared for inequality.
NotEqualBusinessId0x2cSpecifies that the value is not equal to the specified business ID.
NotEqualUserId0x2aSpecifies that the value is not equal to the specified user ID.
NotIn9Specifies that a given value is not matched to a value in a subquery or a list.
NotLike7Specifies that the character string is matched to a specified pattern.
NotNull13Specifies that the value is not null.
NotOn0x2eSpecifies that the value is not on the specified date.
Null12Specifies that the value is null.
OlderThanXMonths0x2fSpecifies that the value is older than the specified number of months.
On0x19Specifies that a value is on a specified date.
OnOrAfter0x1bSpecifies that a value is on or after a specified date.
OnOrBefore0x1aSpecifies that a value is on or before a specified date.
ThisMonth0x17Specifies that a date range consists of this month.
ThisWeek20Specifies that a date range consists of the current week.
ThisYear0x1dSpecifies that a date range consists of the current year.
Today15Specifies that a date range consists of today.
Tomorrow0x10Specifies that a date range consists of tomorrow.
Yesterday14Specifies that a date range consists of yesterday.

Remarks

This enumeration is used for the ConditionExpression.Operator property.

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: