Interface IValidation2

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that manage rules and validate them.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("48469230-851C-11D4-A0C9-00C04F6BDD84")]
public interface IValidation2 : IValidation

Properties

Rules

IEnumRule Rules { get; }

Property Value

IEnumRule

RulesByField[string]

IEnumRule RulesByField[string FieldName] { get; }

Parameters

FieldName string

Property Value

IEnumRule

RulesBySubtypeCode[int]

IEnumRule RulesBySubtypeCode[int SubtypeCode] { get; }

Parameters

SubtypeCode int

Property Value

IEnumRule

Methods

AddRule(IRule)

void AddRule(IRule Rule)

Parameters

Rule IRule

AlterRule(IRule)

Alter the existing validation rule.

void AlterRule(IRule Rule)

Parameters

Rule IRule

Remarks

The AlterRule method is used to change the characteristics of an existing rule.  This is currently implemented to change a subset of properties for connectivity rules only.  These properties are:

  • minimum and maximum cardinalities
  • default junction for junction connectivity rules
  • default junction classID for edge connectivity rules
  • default junction subtype code for edge connectivity rules

To alter other properties of a connectivity rule, the rule must be deleted and recreated with the appropriate changes.

DeleteRule(IRule)

void DeleteRule(IRule Rule)

Parameters

Rule IRule

Validate(IQueryFilter, IWorkspace)

ISelectionSet Validate(IQueryFilter Selection, IWorkspace Workspace)

Parameters

Selection IQueryFilter
Workspace IWorkspace

Returns

ISelectionSet

ValidateSelection(ISelectionSet, IWorkspace)

ISelectionSet ValidateSelection(ISelectionSet Selection, IWorkspace Workspace)

Parameters

Selection ISelectionSet
Workspace IWorkspace

Returns

ISelectionSet

ValidateSet(ISet)

ISet ValidateSet(ISet Selection)

Parameters

Selection ISet

Returns

ISet