Share via


IUpdateServerConfiguration.GetUpdateServerConfigurationState()

Determines if the WSUS database is able to process requests at this time.

public UpdateServerConfigurationState GetUpdateServerConfigurationState();
Public Function GetUpdateServerConfigurationState() As UpdateServerConfigurationState
Implements IUpdateServerConfiguration.GetUpdateServerConfigurationState

Parameters

This method has no parameters.

Return Value

Current state of the WSUS database. Use the state to determine if the database can process your request at this time. For a list of possible states, see UpdateServerConfigurationState.

Remarks

Typically, you call this method before calling IUpdateServerConfiguration.Save. The Save method throws an exception if the current state of the database is not UpdateServerConfigurationState.Ready.

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

UpdateServerConfigurationState