Share via


IUpdateServerConfiguration.TargetingMode

Retrieves or sets the current targeting mode.

public TargetingMode TargetingMode {get; set;}
Public Property TargetingMode As TargetingMode

Property Value

Determines if the server decides to which group the client belongs or the client decides. For possible values, see TargetingMode.

Exceptions

Exception type Condition
System.ArgumentOutOfRangeException The specified mode is not valid.

Remarks

If the server determines the group to which the client belongs, use IComputerTargetGroup to add a client to a group.

If the client determines the group to which it belongs, use Group Policy or registry settings on the client computer to specify the group. For details, see WSUS Product Overview.

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.

See Also

TargetingMode