Freigeben über


IUpdateServer.GetComputerTargetGroups Method ()

 

Applies To: Windows Server Update Services

Gets a collection of all the target groups on the WSUS server.

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

Syntax

ComputerTargetGroupCollection GetComputerTargetGroups()
ComputerTargetGroupCollection^ GetComputerTargetGroups()
abstract GetComputerTargetGroups : unit -> ComputerTargetGroupCollection
Function GetComputerTargetGroups As ComputerTargetGroupCollection

Return Value

Type: Microsoft.UpdateServices.Administration.ComputerTargetGroupCollection

An ComputerTargetGroupCollection collection that you use to enumerate target groups on the WSUS server.

Exceptions

Exception

Condition

InvalidOperationException

One of more groups is of an unknown type.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top