Share via


Administration.GetRuleGroups Method

Retrieves all top-level rule groups.

 public RuleGroupsCollection GetRuleGroups();

Return Value

The RuleGroupsCollection containing all rule groups.

Exceptions

Exception Type Condition
System.UnauthorizedAccessException The user does not have permissions for these objects.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom

Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)

See Also

Administration Class | Administration Members | RuleGroupsCollection Class