Share via


IComputerTargetGroup.Delete()

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

public void Delete();
Public Sub Delete()
Implements IComputerTargetGroup.Delete

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Exceptions

Exception type Condition
InvalidOperationException You can receive this exception for one of the following reasons:

Remarks

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

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.

See Also

ComputerTargetGroupCollection.Remove