AVEVA Database .NET Public Interface

DbElement.SetRule Method 

Attach the Rule to the given Attribute of this Element. Method throws an exception if not allowed.

public abstract void SetRule(
   DbAttribute attributeName,
   DbRule rule
);

Parameters

attributeName
Attribute
rule
Rule to attach

See Also

DbElement Class | Aveva.Pdms.Database Namespace