Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a client computer from the target group.
public void RemoveComputerTarget(IComputerTargettarget);
Public Sub RemoveComputerTarget( _
ByVal target As IComputerTarget _
)
Implements IComputerTargetGroup.RemoveComputerTarget
Parameters
- target
An IComputerTarget of the client computer to be removed from the group. The client is moved to the Unassigned Computers group.
Return Value
This method does not return a value.
Exceptions
| Exception type | Condition |
|---|---|
| System.ArgumentNullException | target cannot be null. |
| System.InvalidOperationException | Cannot delete the target group. For example, you cannot delete the All Computers or Unassigned Computers target group. |
| WsusObjectNotFoundException | The target group or computer has been deleted. |
Requirements
| 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. |