Share via


IUpdateApproval.GetComputerTargetGroup Method ()

 

Applies To: Windows Server Update Services

Gets the target group to which this approval applies.

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

Syntax

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

Return Value

Type: Microsoft.UpdateServices.Administration.IComputerTargetGroup

An IComputerTargetGroup of the target group to which this approval applies.

Exceptions

Exception

Condition

InvalidOperationException

Could not get the target group. This generally occurs when the approval has been deleted from the database.

See Also

IUpdateApproval Interface
Microsoft.UpdateServices.Administration Namespace

Return to top