Share via


IUpdateApproval.GetComputerTargetGroup()

Retrieves the target group to which this approval applies.

public IComputerTargetGroup GetComputerTargetGroup();
Public Function GetComputerTargetGroup() As IComputerTargetGroup
Implements IUpdateApproval.GetComputerTargetGroup

Parameters

This method has no parameters.

Return Value

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

Exceptions

Exception type Condition
System.InvalidOperationException Could not retrieve the target group. If this exception persists, you may need to recreate the approval.

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.