This document is archived and information here might be outdated. Recommended version. |
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*
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.