IUpdateServerConfiguration Members

Use this interface to configure the WSUS server, for example, to specify a proxy server if necessary, the update languages to download, and whether the updates are stored locally. To get an IUpdateServerConfiguration, call GetConfiguration.

The following tables list the members exposed by the IUpdateServerConfiguration type.

Public Properties

  Name Description
public property AllowProxyCredentialsOverNonSsl Gets or sets whether user credentials can be sent to the proxy server using HTTP instead of HTTPS.
public property AllUpdateLanguagesEnabled Gets or sets whether the WSUS server downloads updates for all languages or for a subset of languages.
public property AllUpdateLanguagesUssEnabled Gets or sets whether the upstream server (the server's parent server) supports all languages.
public property AnonymousProxyAccess Gets or sets whether anonymous proxy server connections are allowed.
public property AutoApproveWsusInfrastructureUpdates Gets or sets whether WSUS infrastructure updates are approved automatically.
public property AutoRefreshUpdateApprovals Gets or sets whether the latest revision of the update should be approved automatically.
public property AutoRefreshUpdateApprovalsDeclineExpired Gets or sets whether an update should be automatically declined when it is revised to be expired and AutoRefreshUpdateApprovals is enabled.
public property ClientEventExpirationTime Gets or sets the period of time for which client events are retained before being removed from the database.
public property ClientReportingLevel Gets or sets the client reporting level
public property CollectClientInventory Gets or sets whether client inventory data will be collected.
public property ComputerDeletionTimeThreshold Gets or sets the number of days between the last time the computer reported to the server and the time it can be deleted.
public property DoDetailedRollup Gets or sets whether the downstream server should roll up detailed computer and update status information.
public property DownloadExpressPackages Gets or sets whether express installation packages should be downloaded.
public property DownloadUpdateBinariesAsNeeded Gets or sets whether updates are downloaded only when they are approved.
public property ExpiredEventDetectionPeriod Gets or sets the period of time between scans for expired client and server events from the server.
public property GetContentFromMU Gets or sets whether update binaries are downloaded from Microsoft Update or from the upstream server.
public property HasProxyPassword Gets whether the proxy password is set.
public property HostBinariesOnMicrosoftUpdate Gets or sets whether updates are stored locally or whether clients download approved updates directly from Microsoft Update.
public property IsReplicaServer Gets or sets whether the WSUS server is a replica server.
public property LastConfigChange Gets the last time the configuration information changed.
public property LocalContentCachePath Gets the path of the local content cache.
public property LocalPublishingMaxCabSize Gets or sets the maximum .cab file size (in megabytes) that Local Publishing will create.
public property MaximumAllowedComputers Gets or sets the maximum number of computers allowed as targets of the WSUS server.
public property MURollupOptin Gets or sets whether the top-level server in the server hierarchy will send data to Microsoft Update about machine properties, the number of servers, the number of clients, etc.
public property ProxyName Gets or sets the name of the proxy server.
public property ProxyServerPort Gets or sets the port number that is used to connect to the proxy server.
public property ProxyUserDomain Gets or sets the name of the domain that contains the user's logon account.
public property ProxyUserName Gets or sets the user name to use when accessing the proxy server.
public property RevisionDeletionTimeThreshold Gets or sets the number of days after the deletion of a revision before the revision can be deleted.
public property ServerEventExpirationTime Gets or sets the period of time that server events are retained before being removed from the database.
public property ServerId Gets the GUID of the WSUS server.
public property ServerString Gets or sets the string sent to the upstream server or to Microsoft Update to identify the server type.
public property SslProxyName Gets or sets the name of the proxy server for SSL communications.
public property SslProxyServerPort Gets or sets the port number used to connect with the proxy server for SSL communications.
public property SupportedUpdateLanguages Gets the languages that WSUS supports.
public property SyncFromMicrosoftUpdate Gets or sets whether the WSUS server synchronizes updates from Microsoft Update or a local WSUS server.
public property TargetingMode Gets or sets the current targeting mode.
public property UpstreamWsusServerName Gets or sets the name of a local server from which to synchronize updates.
public property UpstreamWsusServerPortNumber Gets or sets the port number to use to communicate with the upstream WSUS server.
public property UpstreamWsusServerUseSsl Gets or sets whether the WSUS server should use SSL (HTTPS) to communicate with an upstream server.
public property UseProxy Gets or sets whether to use a proxy to download updates.
public property UseSeparateProxyForSsl Gets or sets whether a separate proxy should be used for SSL communications with the upstream server.

Top

Public Methods

  Name Description
public method GetEnabledUpdateLanguages Gets the language codes that are enabled on the WSUS server.
public method GetProgramKeys Gets the program keys registered with the WSUS server.
public method GetSigningCertificate Saves the current registered certificate to the specified path.
public method GetUpdateServerConfigurationState Gets the database state, which determines whether the WSUS database is able to process requests at this time.
public method GetUssEnabledUpdateLanguages Gets the update languages on the upstream server.
public method Save Overloaded. Saves the configuration information.
public method SetEnabledUpdateLanguages Enables updates for the specified languages.
public method SetProgramKeys Sets the program keys to register.
public method SetProxyPassword Overloaded. Sets the password to use when accessing the proxy server.
public method SetSigningCertificate Overloaded. Registers a certificate in the WSUS store and removes any existing certificate. There are multiple overloads of this method in which the parameter variants of this method can be used to specify the PFX certificate and password to be used. Note that the method without parameters first creates the certificate and then registers that certificate in the WSUS store.

Top

See Also

Reference

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace