Share via


Administration.GetRuleGroup Method

Retrieves a rule group that matches the specified ID.

 public RuleGroup GetRuleGroup(
    Guid ruleGroupId
);

Parameters

  • ruleGroupId
    The rule group ID.

Return Value

The specified RuleGroup.

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 | RuleGroup Class