Partager via


IUpdateServerConfiguration Interface

 

Applies To: Windows Server Update Services

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.

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

Syntax

public interface IUpdateServerConfiguration
public interface class IUpdateServerConfiguration
type IUpdateServerConfiguration = interface end
Public Interface IUpdateServerConfiguration

Properties

Name Description
System_CAPS_pubproperty AllowProxyCredentialsOverNonSsl

Gets or sets whether user credentials can be sent to the proxy server using HTTP instead of HTTPS.

System_CAPS_pubproperty AllUpdateLanguagesEnabled

Gets or sets whether the WSUS server downloads updates for all languages or for a subset of languages.

System_CAPS_pubproperty AllUpdateLanguagesUssEnabled

Gets or sets whether the upstream server (the server's parent server) supports all languages.

System_CAPS_pubproperty AnonymousProxyAccess

Gets or sets whether anonymous proxy server connections are allowed.

System_CAPS_pubproperty AutoApproveWsusInfrastructureUpdates

Gets or sets whether WSUS infrastructure updates are approved automatically.

System_CAPS_pubproperty AutoRefreshUpdateApprovals

Gets or sets whether the latest revision of the update should be approved automatically.

System_CAPS_pubproperty AutoRefreshUpdateApprovalsDeclineExpired

Gets or sets whether an update should be automatically declined when it is revised to be expired and AutoRefreshUpdateApprovals is enabled.

System_CAPS_pubproperty ClientEventExpirationTime

Gets or sets the period of time for which client events are retained before being removed from the database.

System_CAPS_pubproperty ClientReportingLevel

Gets or sets the client reporting level

System_CAPS_pubproperty CollectClientInventory

Gets or sets whether client inventory data will be collected.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty DoDetailedRollup

Gets or sets whether the downstream server should roll up detailed computer and update status information.

System_CAPS_pubproperty DownloadExpressPackages

Gets or sets whether express installation packages should be downloaded.

System_CAPS_pubproperty DownloadUpdateBinariesAsNeeded

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

System_CAPS_pubproperty ExpiredEventDetectionPeriod

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

System_CAPS_pubproperty GetContentFromMU

Gets or sets whether update binaries are downloaded from Microsoft Update or from the upstream server.

System_CAPS_pubproperty HasProxyPassword

Gets whether the proxy password is set.

System_CAPS_pubproperty HostBinariesOnMicrosoftUpdate

Gets or sets whether updates are stored locally or whether clients download approved updates directly from Microsoft Update.

System_CAPS_pubproperty IsReplicaServer

Gets or sets whether the WSUS server is a replica server.

System_CAPS_pubproperty LastConfigChange

Gets the last time the configuration information changed.

System_CAPS_pubproperty LocalContentCachePath

Gets the path of the local content cache.

System_CAPS_pubproperty LocalPublishingMaxCabSize

Gets or sets the maximum .cab file size (in megabytes) that Local Publishing will create.

System_CAPS_pubproperty MaximumAllowedComputers

Gets or sets the maximum number of computers allowed as targets of the WSUS server.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty ProxyName

Gets or sets the name of the proxy server.

System_CAPS_pubproperty ProxyServerPort

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

System_CAPS_pubproperty ProxyUserDomain

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

System_CAPS_pubproperty ProxyUserName

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

System_CAPS_pubproperty RevisionDeletionTimeThreshold

Gets or sets the number of days after the deletion of a revision before the revision can be deleted.

System_CAPS_pubproperty ServerEventExpirationTime

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

System_CAPS_pubproperty ServerId

Gets the GUID of the WSUS server.

System_CAPS_pubproperty ServerString

Gets or sets the string sent to the upstream server or to Microsoft Update to identify the server type.

System_CAPS_pubproperty SslProxyName

Gets or sets the name of the proxy server for SSL communications.

System_CAPS_pubproperty SslProxyServerPort

Gets or sets the port number used to connect with the proxy server for SSL communications.

System_CAPS_pubproperty SupportedUpdateLanguages

Gets the languages that WSUS supports.

System_CAPS_pubproperty SyncFromMicrosoftUpdate

Gets or sets whether the WSUS server synchronizes updates from Microsoft Update or a local WSUS server.

System_CAPS_pubproperty TargetingMode

Gets or sets the current targeting mode.

System_CAPS_pubproperty UpstreamWsusServerName

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

System_CAPS_pubproperty UpstreamWsusServerPortNumber

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

System_CAPS_pubproperty UpstreamWsusServerUseSsl

Gets or sets whether the WSUS server should use SSL (HTTPS) to communicate with an upstream server.

System_CAPS_pubproperty UseProxy

Gets or sets whether to use a proxy to download updates.

System_CAPS_pubproperty UseSeparateProxyForSsl

Gets or sets whether a separate proxy should be used for SSL communications with the upstream server.

Methods

Name Description
System_CAPS_pubmethod GetEnabledUpdateLanguages()

Gets the language codes that are enabled on the WSUS server.

System_CAPS_pubmethod GetProgramKeys()

Gets the program keys registered with the WSUS server.

System_CAPS_pubmethod GetSigningCertificate(String)

Saves the current registered certificate to the specified path.

System_CAPS_pubmethod GetUpdateServerConfigurationState()

Gets the database state, which determines whether the WSUS database is able to process requests at this time.

System_CAPS_pubmethod GetUssEnabledUpdateLanguages()

Gets the update languages on the upstream server.

System_CAPS_pubmethod Save()

Saves WSUS configuration information to the database.

System_CAPS_pubmethod Save(Boolean)

Saves the server configuration information, specifying whether or not to throw an exception if the configuration has changed after it was loaded.

System_CAPS_pubmethod SetEnabledUpdateLanguages(StringCollection)

Enables updates for the specified languages.

System_CAPS_pubmethod SetProgramKeys(IEnumerable<ProgramKey>)

Sets the program keys to register.

System_CAPS_pubmethod SetProxyPassword(SecureString)

Sets the password to use when accessing the proxy server.

System_CAPS_pubmethod SetProxyPassword(String)

Sets the password to use when accessing the proxy server.

System_CAPS_pubmethod SetSigningCertificate()

Creates and registers a new certificate in the WSUS store and removes any existing certificate.

System_CAPS_pubmethod SetSigningCertificate(String, SecureString)

Registers a specified certificate in the WSUS store and removes any existing certificate. This version of the method requires the PFX certificate name and the certificate password, which is passed as a SecureString object.

System_CAPS_pubmethod SetSigningCertificate(String, String)

Registers a specified certificate in the WSUS store and removes any existing certificate. This version of the method requires the PFX certificate name and the certificate password, which is passed as a .NET Framework String object.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top