Partager via


UpdateScope.ExcludeOptionalUpdates Property

 

Applies To: Windows Server Update Services

Gets or sets whether to exclude optional updates from the list.

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

Syntax

public bool ExcludeOptionalUpdates { get; set; }
public:
property bool ExcludeOptionalUpdates {
    bool get();
    void set(bool value);
}
member ExcludeOptionalUpdates : bool with get, set
Public Property ExcludeOptionalUpdates As Boolean

Property Value

Type: System.Boolean

If true, excludes optional updates; if false, does not exclude optional updates.

See Also

UpdateScope Class
Microsoft.UpdateServices.Administration Namespace

Return to top