This document is archived and information here might be outdated.  Recommended version.


IValidation2.AlterRule Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IValidation2.AlterRule Method

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:

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

See Also

IValidation2 Interface