DuplicateRuleOperator Enumeration (CrmHelpers)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

DuplicateRuleOperator Enumeration (CrmHelpers)

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This class contains integer flags to set the duplicaterulecondition.operatorcode property. Although the property may accept any value, these are the valid values.

This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when setting entity property values.

The DuplicateRuleOperator enumeration type contains the following fields.

FieldValueDescription
Equals0Specifies that the base attribute and the matching attribute are the same.
FirstN 1Specifies that the first N letters in the base attribute string and the first N letters in the matching attribute string are the same. Applies to attributes of type ntext or nvarchar.
LastN 2Specifies that the last N letters in the base attribute string and the last N letters in the matching attribute string are the same. Applies to attributes of type ntext or nvarchar.
EqualsDateOnly 3Specifies that the date of the base attribute and the date of the matching attribute are the same. Applies to attributes of type datetime.
EqualsDateAndTime 4Specifies that the date and time of the base attribute and the date and time of the matching attribute are the same. Applies to attributes of type datetime.

Remarks

This class is in the helper code file SDK\Helpers\CS\CrmHelpers\enums.cs. This class can also be found in the assembly Microsoft.Crm.Sdk.dll.

Requirements

Filename: enums.cs

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2016 Microsoft