API Reference > OdDAI Namespace > Classes > ApplicationInstance Class > ApplicationInstance Methods > validateWhereRule Method > ApplicationInstance::validateWhereRule Method (char *)
ApplicationInstance::validateWhereRule Method (char *)
Syntax
C++
Logical validateWhereRule(const char * ruleName) const;
Parameters 
Description 
const char * ruleName 
[in] A null-terminated string that contains the name of the constraint (Where-Rule) to be validated. 
  • true if the constraint is satisfied.
  • false if the constraint is violated.
  • Unknown if the constraint's expression is unknown or is not defined.

Checks the constraint (Where-Rule) for the application instance. The constraint (Where-Rule) is defined within the application entity definition or within a parent application entity definition.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.