IComputerTargetGroup.Delete Method ()

 

Applies To: Windows Server Update Services

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

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

Syntax

void Delete()
void Delete()
abstract Delete : unit -> unit
Sub Delete

Exceptions

Exception

Condition

InvalidOperationException

You can receive this exception for one of the following reasons:

  • You cannot delete the All Computers or Unassigned Computers target group.

  • You cannot delete the target group if the server is a replica WSUS server (if IsReplicaServer is true).

Remarks

When you remove the group, the clients in the group are moved to the Unassigned Computers group.

This operation requires WSUS Administrator privileges.

See Also

IComputerTargetGroup Interface
Microsoft.UpdateServices.Administration Namespace

Return to top