IUpdateServerConfiguration

Use this interface to configure the WSUS server. For example, to specify the update languages to download, the proxy to use, and whether the updates are stored locally.

To retrieve an IUpdateServerConfiguration, call IUpdateServer.GetConfiguration.

The IUpdateServerConfiguration interface is derived from the System.Object class.

Public Methods

The IUpdateServerConfiguration interface has the following public methods.

Method Description
Equals(Object)

Determines if the specified Object is equal to the current Object.

GetEnabledUpdateLanguages()

Retrieves a collection of the language codes that are enabled on the WSUS server.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

GetType()

Retrieves the Type of the current instance.

GetUpdateServerConfigurationState()

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

Save()

Saves your copy of the WSUS configuration information to the database.

SetEnabledUpdateLanguages(StringCollection)

Enables updates for the specified languages.

SetProxyPassword(String)

Specifies the password to use when accessing the proxy server.

ToString()

Retrieves a String that represents the current Object.

Public Properties

The IUpdateServerConfiguration interface has the following public properties.

Property Description
AllowProxyCredentialsOverNonSsl

Retrieves or sets a value that indicates if user credentials can be sent to the proxy server using HTTP instead of HTTPS.

AllUpdateLanguagesEnabled

Retrieves or sets a value that indicates if the WSUS server downloads updates for all languages or a subset of languages.

AnonymousProxyAccess

Retrieves or sets a value that indicates if you want to connect to the proxy server anonymously or using user credentials.

AutoApproveWsusInfrastructureUpdates

Retrieves or sets a value that indicates if you want to automatically approve WSUS infrastructure updates.

AutoRefreshUpdateApprovals

Retrieves or sets a value that indicates if you want to automatically approve the latest revision of the update.

ClientEventExpirationTime

Retrieves or sets the period of time that client events are retained before being removed from the database.

DownloadExpressPackages

Retrieves or sets a value that indicates if you want to download express installation packages if they are available.

DownloadUpdateBinariesAsNeeded

Retrieves or sets a value that indicates if updates are downloaded only when they are approved.

ExpiredEventDetectionPeriod

Retrieves or sets the period of time between scans for removing expired client and server events from the server.

HasProxyPassword

Retrieves a value that indicates if the proxy password is set.

HostBinariesOnMicrosoftUpdate

Retrieves or sets a value that indicates if you store updates locally or point clients directly to Microsoft Update to download the approved updates.

IsReplicaServer

Retrieves a value that indicates if the WSUS server is a replica server.

LastConfigChange

Retrieves the last time the configuration information changed.

LocalContentCachePath

Retrieves or sets the path of the local content cache.

LogDestinations

Retrieves or sets a value that specifies where log messages are written.

LogFilePath

Retrieves or sets the path of the log file.

LogLevel

Retrieves or sets the level of logging that WSUS generates.

LogRolloverFileSizeInBytes

Retrieves or sets the size of the log file.

ProxyName

Retrieves or sets the name of the proxy server.

ProxyServerPort

Retrieves or sets the port number that is used to connect to the proxy server.

ProxyUserDomain

Retrieves or sets the name of the domain that contains the user's logon account.

ProxyUserName

Retrieves or sets the user name to use when accessing the proxy server.

ServerEventExpirationTime

Retrieves or sets the period of time that server events are retained before being removed from the database.

ServerId

Retrieves the unique identifier of the WSUS server.

SupportedUpdateLanguages

Retrieves a collection of languages that WSUS supports.

SyncFromMicrosoftUpdate

Retrieves or sets a value that indicates if the WSUS server synchronizes updates from Microsoft Update or a local WSUS server.

TargetingMode

Retrieves or sets the current targeting mode.

UpstreamWsusServerName

Retrieves or sets the name of a local server from which to synchronize updates.

UpstreamWsusServerPortNumber

Retrieves or sets the port number to use to communicate with the upstream WSUS server.

UpstreamWsusServerUseSsl

Retrieves or sets a value that indicates if the WSUS server should use SSL (HTTPS) to communicate with an upstream server.

UseProxy

Retrieves or sets a value that indicates if you want to use a proxy to download updates.

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.