Share via


ComputerGroup Members

The members of the ComputerGroup class are listed here.

Methods

Name Description

AddComputerToExcludeList

Adds the specified computer to the list of computers that are explicitly excluded from the computer group.

AddComputerToIncludeList

Adds the specified computer to the list of computers that are explicitly included with the computer group.

AddSubComputerGroup

Adds a computer group to the current group.

ClearComputerExcludeList

Removes all items from the list of computers explicitly excluded from the computer group.

ClearComputerIncludeList

Removes all items from the list of computers explicitly added to the computer group.

Delete

Deletes the computer group from the MOM operations database.

GetAssociatedComputers

Retrieves the computers that belong to the computer group.

GetAssociatedRuleGroups

Retrieves the rule groups assigned to this computer group.

GetParentComputerGroups

Retrieves all computer groups that contain the current computer group.

GetSubComputerGroups

Gets computer groups below the current computer in the computer groups hierarchy.

RemoveComputerFromExcludeList

Removes the specified computer or computers from the list of computers that are explicitly excluded from the computer group.

RemoveComputerFromIncludeList

Removes the specified computer or computers from the list of computers that are explicitly included with the computer group.

RemoveSubComputerGroup

Removes the specified group from the list of computer groups that are members of the current computer group.

SetHealthPolicyPercentage

Sets the computer group's health policy measurement.

Update

Commits changes made to a ComputerGroup object.

Properties

Name Description

ComputerExcludeList

Gets the list of computers explicitly excluded from the computer group.

ComputerIncludeList

Gets the list of computers explicitly added to the computer group.

ComputerNameMatchQuery

Gets the regular expression used to match computer names.

Description

Gets or sets the description for the computer group.

DomainNameMatchQuery

Gets the regular expression used to match computer domain names.

Formula

Gets the query that defines the group's membership.

HealthModel

Gets the policy used to calculate the overall health of the computer group from the health of its members.

HealthModelPercentage

Gets the measurement of the computer group's health model.

Id

Gets the globally unique identifier (GUID) of the computer group.

Name

Gets or sets the name of the computer group.

RulesEnabled

Enables or disables the computer group and its associated rules.

SearchForComputers

Gets or sets whether the computer within the group are located using their type value.

Type

Gets or sets the type of the computers in this computer group.

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)