ArcGIS Pro 2.7 API Reference Guide
EvaluateInEditOperation Method

ArcGIS.Core.Data.Extensions Namespace > ArcGISCoreDataExtensions Class : EvaluateInEditOperation Method
The ArcGIS.Core.Data.AttributeRuleManager instance to manage attribute rules on behalf of a geodatabase.
The ArcGIS.Core.Data.AttributeRuleEvaluationDescription which describes the details of the evaluate operation.
Evaluates all the applicable tables and feature classes in the geodatabase associated with attributeRuleManager using the operation(s) specified by description in the validation service. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

attributeRuleManager
The ArcGIS.Core.Data.AttributeRuleManager instance to manage attribute rules on behalf of a geodatabase.
description
The ArcGIS.Core.Data.AttributeRuleEvaluationDescription which describes the details of the evaluate operation.

Return Value

An ArcGIS.Core.Data.AttributeRuleEvaluationResult that describes the result of the operation(s).
Exceptions
ExceptionDescription

Cannot find a layer in the active map that connects to the same geodatabase as that of the Attribute Rule Manager.

-or-

A validation service is not supported or enabled for this geodatabase.

-or-

If the geodatabase is opened from the Default version and ArcGIS.Core.Data.VersionEvaluationScope.ChangesInVersion is specified for the VersionEvaluationScope argument in ArcGIS.Core.Data.AttributeRuleEvaluationDescription(AttributeRuleType, VersionEvaluationScope).

This method must be called on the Main CIM Thread. Use QueuedTask.Run.
A geodatabase-related exception has occurred.
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ArcGISCoreDataExtensions Class
ArcGISCoreDataExtensions Members