Partager via


IComputerTargetGroup.GetParentTargetGroup Method ()

 

Applies To: Windows Server Update Services

Get the parent computer target group.

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

Syntax

IComputerTargetGroup GetParentTargetGroup()
IComputerTargetGroup^ GetParentTargetGroup()
abstract GetParentTargetGroup : unit -> IComputerTargetGroup
Function GetParentTargetGroup As IComputerTargetGroup

Return Value

Type: Microsoft.UpdateServices.Administration.IComputerTargetGroup

The parent computer target group.

Exceptions

Exception

Condition

WsusObjectNotFoundException

The computer target group could not be found.

InvalidOperationException

This group cannot be the All Computers group.

See Also

IComputerTargetGroup Interface
Microsoft.UpdateServices.Administration Namespace

Return to top