Partager via


IUpdateServer.ResetAndVerifyContentState Method ()

 

Applies To: Windows Server Update Services

Forces the synchronization of all update metadata on the WSUS server and verifies that all update files on the WSUS server are valid.

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

Syntax

void ResetAndVerifyContentState()
void ResetAndVerifyContentState()
abstract ResetAndVerifyContentState : unit -> unit
Sub ResetAndVerifyContentState

Remarks

If you host binaries on Microsoft Update, the method validates the license agreements that were downloaded to the WSUS server. Otherwise, the method validates both the update files and the license agreements.

This method does not identify validation errors. Instead, this method fixes any issues that were found and leaves the WSUS server in a valid state.

This operation requires WSUS Administrator privileges.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top