Partager via


IUpdateServerConfiguration.DownloadUpdateBinariesAsNeeded Property

 

Applies To: Windows Server Update Services

Gets or sets whether updates are downloaded only when they are approved.

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

Syntax

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

Property Value

Type: System.Boolean

If true, only approved updates are downloaded. If false, all updates are downloaded after the WSUS server synchronizes with Microsoft Update.

Remarks

WSUS ignores this property if HostBinariesOnMicrosoftUpdate is true.

The synchronization process downloads the update's metadata and license agreement. Once the metadata is downloaded, WSUS uses HostBinariesOnMicrosoftUpdate and DownloadUpdateBinariesAsNeeded to determine if the update file is downloaded. If both properties are false, WSUS downloads the update file. If HostBinariesOnMicrosoftUpdate is false and DownloadUpdateBinariesAsNeeded is true, WSUS downloads the update file only after it is approved for deployment.

Setting DownloadUpdateBinariesAsNeeded to false saves disk space on the WSUS server, but may delay deployment to the clients.

An administrator can manually approve an update or create an automatic approval rule to automatically approve an update and its revisions.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top