Computer.GetAssociatedRules Method

System Center

Retrieves all rules associated with the computer.

 public RulesCollection GetAssociatedRules();

Return Value

The RulesCollection associated with the computer.

Exceptions

Exception TypeCondition
System.UnauthorizedAccessExceptionThe user does not have permissions for these objects.

Remarks

Rules 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 | Rule Class | Computer.GetAssociatedRuleGroups Method

Show: