Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GetParentRuleGroup method performance issues

0 views
Skip to first unread message

Pendse@discussions.microsoft.com Manish Pendse

unread,
Jun 26, 2008, 7:36:00 AM6/26/08
to
We are having a hierarchy of RuleGroups; and we want to get the full path for
each rule group programatically. We are using a resursive function, which
uses the GetParentRuleGroup to fetch the parent and builds the path.

Something like if RuleGroup1 is a parent to RuleGroup2 and RuleGroup2 is a
parent to RuleGroup3, we are trying to build a path which will be
RuleGroup1\RuleGroup2\RuleGroup3. RuleGroup1, RuleGroup2 and RuleGroup3 are
the names of the rule groups.

The problem is the GetParentRuleGroup takes a way to long, approx 5 seconds
to get the parent and build the path. Is there a better and faster way to get
the path?

0 new messages