Alter the existing validation rule.
[Visual Basic .NET] Public Sub AlterRule ( _ ByVal Rule As IRule _ )
[C#] public void AlterRule ( IRule Rule );
[C++]
HRESULT AlterRule(
IRule* Rule
);
[C++]Parameters
Rule [in]Rule is a parameter of type IRule
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
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.