Compartilhar via


IUpdateServerConfiguration.TargetingMode Property

 

Applies To: Windows Server Update Services

Gets or sets the current targeting mode.

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

Syntax

TargetingMode TargetingMode { get; set; }
property TargetingMode TargetingMode {
    TargetingMode get();
    void set(TargetingMode value);
}
abstract TargetingMode : TargetingMode with get, set
Property TargetingMode As TargetingMode

Property Value

Type: Microsoft.UpdateServices.Administration.TargetingMode

For possible values, see TargetingMode, which specifies either server-side or client-side targeting.

Exceptions

Exception

Condition

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 the WSUS 3.0 Deployment Guide.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top