IComputerTargetGroup
Use this interface to add clients to or remove clients from the target group, delete the group, or retrieve installation results for client members.
To retrieve this interface, call the following methods:
- ComputerTargetGroupCollection.Item
- IComputerTarget.GetComputerTargetGroup
- IUpdateApproval.GetComputerTargetGroup
- IUpdateServer.CreateComputerTargetGroup
- IUpdateServer.GetComputerTargetGroup
The IComputerTargetGroup interface is derived from the System.Object class.
The IComputerTargetGroup interface has the following public methods.
Method | Description |
---|---|
AddComputerTarget(IComputerTarget) | Adds a client computer to the target group. |
Delete() | Removes the target group from the list of groups known to WSUS. |
Equals(Object) | Determines if the specified Object is equal to the current Object. |
GetComputerTargets() | Retrieves a list of client computers that are assigned to the group. |
GetHashCode() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetSummaryPerUpdate() | Retrieves the summary installation counts for all approved updates. |
GetTotalSummary() | Retrieves the summary installation counts for all approved updates. |
GetTotalSummaryPerComputerTarget() | Retrieves summary installation counts for all approved updates. |
GetType() | Retrieves the Type of the current instance. |
GetUpdateInstallationInfoPerComputerTarget(IUpdate) | Retrieves installation information about a specific update for each client computer in the group. |
PurgeAssociatedReportingEvents(DateTime, DateTime) | Uses the specified date range to remove events that are associated with the target group. |
RemoveComputerTarget(IComputerTarget) | Removes a client computer from the target group. |
ToString() | Retrieves a String that represents the current Object. |
The IComputerTargetGroup interface has the following public properties.
Property | Description |
---|---|
Id | Retrieves the unique identifier of the target group. |
Name | Retrieves the name of the group. |
Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
Namespace | Defined in Microsoft.UpdateServices.Administration. |
Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
.NET Framework | Requires .NET Framework 1.1. |