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.
Retrieves a collection of all the target groups on the WSUS server.
public ComputerTargetGroupCollection GetComputerTargetGroups();
Public Function GetComputerTargetGroups() As ComputerTargetGroupCollection
Implements IUpdateServer.GetComputerTargetGroups
Parameters
This method has no parameters.
Return Value
An ComputerTargetGroupCollection collection that you use to enumerate target groups on the WSUS server.
Exceptions
| Exception type | Condition |
|---|---|
| System.InvalidOperationException | One of more groups is of an unknown type. |
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. |