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
RulesByField[string]
IEnumRule RulesByField[string FieldName] { get; }
Parameters
FieldNamestring
Property Value
RulesBySubtypeCode[int]
IEnumRule RulesBySubtypeCode[int SubtypeCode] { get; }
Parameters
SubtypeCodeint
Property Value
Methods
AddRule(IRule)
void AddRule(IRule Rule)
Parameters
RuleIRule
AlterRule(IRule)
Alter the existing validation rule.
void AlterRule(IRule Rule)
Parameters
RuleIRule
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
RuleIRule
Validate(IQueryFilter, IWorkspace)
ISelectionSet Validate(IQueryFilter Selection, IWorkspace Workspace)
Parameters
SelectionIQueryFilterWorkspaceIWorkspace
Returns
ValidateSelection(ISelectionSet, IWorkspace)
ISelectionSet ValidateSelection(ISelectionSet Selection, IWorkspace Workspace)
Parameters
SelectionISelectionSetWorkspaceIWorkspace
Returns
ValidateSet(ISet)
ISet ValidateSet(ISet Selection)
Parameters
SelectionISet