次の方法で共有


IComputerTargetGroup Interface

 

Applies To: Windows Server Update Services

Adds and removes clients, deletes the group, and get installation results for clients. To get this interface, call the following methods: Item; GetComputerTargetGroups; GetComputerTargetGroup; CreateComputerTargetGroup.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public interface IComputerTargetGroup
public interface class IComputerTargetGroup
type IComputerTargetGroup = interface end
Public Interface IComputerTargetGroup

Properties

Name Description
System_CAPS_pubproperty Id

Gets the GUID of the target group.

System_CAPS_pubproperty Name

Gets the name of the group.

Methods

Name Description
System_CAPS_pubmethod AddComputerTarget(IComputerTarget)

Adds a client computer to the target group.

System_CAPS_pubmethod Delete()

s the target group from the list of groups known to WSUS.

System_CAPS_pubmethod GetChildTargetGroups()

Get the list of computer target groups that are belong to this computer target group.

System_CAPS_pubmethod GetComputerTargets()

Gets a list of client computers that are assigned to the group.

System_CAPS_pubmethod GetComputerTargets(Boolean)

Get the list of computers in the computer target group.

System_CAPS_pubmethod GetComputerTargetsWithInventory(InventoryScope, Object, Boolean)

Returns a collection of computers that have reported the requested inventory item.

System_CAPS_pubmethod GetHashCode()

Gets the hash code for the current computer target group, suitable for use in hashing algorithms and data structures such as hash tables.

System_CAPS_pubmethod GetInventorySummary(InventoryScope[], Boolean)

Returns a collection of inventory items summed across this target group.

System_CAPS_pubmethod GetParentTargetGroup()

Get the parent computer target group.

System_CAPS_pubmethod GetSummaryPerUpdate()

Gets the summary installation counts for all approved updates.

System_CAPS_pubmethod GetSummaryPerUpdate(Boolean)

Gets the summary information for drivers and software updates for computers in this computer target group. Updates with at least one approval are included, even if the update is not approved for this particular target group.

System_CAPS_pubmethod GetTotalSummary()

Gets the summary installation counts for all approved updates.

System_CAPS_pubmethod GetTotalSummary(Boolean)

Gets the summary information for drivers and software updates for computers in this computer target group. Updates with at least one approval are included, even if the update is not approved for this particular target group.

System_CAPS_pubmethod GetTotalSummaryPerComputerTarget()

Gets summary installation counts for all approved updates.

System_CAPS_pubmethod GetTotalSummaryPerComputerTarget(Boolean)

Gets the summary information for updates of the specified type for computers in this computer target group. Updates with at least one approval are included, even if the update is not approved for this particular target group.

System_CAPS_pubmethod GetUpdateInstallationInfoPerComputerTarget(IUpdate)

Gets installation information about a specific update for each client computer in the group.

System_CAPS_pubmethod GetUpdateInstallationInfoPerComputerTarget(IUpdate, Boolean)

Get the collection of installation information for computers in this computer target group for a specific update.

System_CAPS_pubmethod RemoveComputerTarget(IComputerTarget)

Removes a client computer from the target group.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top