Share via


Computer.GetAssociatedRuleGroups Method

Retrieves all rule groups associated with the computer.

 public RuleGroupsCollection GetAssociatedRuleGroups();

Return Value

The RuleGroupsCollection associated with the computer.

Exceptions

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

Remarks

Rule groups are associated with computers through computer groups.

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

Computer Class | Computer Members | Computer.GetAssociatedRules Method