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.
Applies To: Windows Server Update Services
Get the list of computers in the computer target group.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
ComputerTargetCollection GetComputerTargets(
bool includeSubgroups
)
ComputerTargetCollection^ GetComputerTargets(
bool includeSubgroups
)
abstract GetComputerTargets :
includeSubgroups:bool -> ComputerTargetCollection
Function GetComputerTargets (
includeSubgroups As Boolean
) As ComputerTargetCollection
Parameters
includeSubgroups
Type: System.Booleantrue if subgroups of this group should be included, otherwise false.
Return Value
Type: Microsoft.UpdateServices.Administration.ComputerTargetCollection
A ComputerTargetCollection of the computers in the computer target group.
Exceptions
Exception
Condition
The computer target group could not be found in the database.
See Also
GetComputerTargets Overload
IComputerTargetGroup Interface
Microsoft.UpdateServices.Administration Namespace
Return to top