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 | |
---|---|---|
AllowProxyCredentialsOverNonSsl | Gets or sets whether user credentials can be sent to the proxy server using HTTP instead of HTTPS. |
|
AllUpdateLanguagesEnabled | Gets or sets whether the WSUS server downloads updates for all languages or for a subset of languages. |
|
AllUpdateLanguagesUssEnabled | Gets or sets whether the upstream server (the server's parent server) supports all languages. |
|
AnonymousProxyAccess | Gets or sets whether anonymous proxy server connections are allowed. |
|
AutoApproveWsusInfrastructureUpdates | Gets or sets whether WSUS infrastructure updates are approved automatically. |
|
AutoRefreshUpdateApprovals | Gets or sets whether the latest revision of the update should be approved automatically. |
|
AutoRefreshUpdateApprovalsDeclineExpired | Gets or sets whether an update should be automatically declined when it is revised to be expired and AutoRefreshUpdateApprovals is enabled. |
|
ClientEventExpirationTime | Gets or sets the period of time for which client events are retained before being removed from the database. |
|
ClientReportingLevel | Gets or sets the client reporting level |
|
CollectClientInventory | Gets or sets whether client inventory data will be collected. |
|
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. |
|
DoDetailedRollup | Gets or sets whether the downstream server should roll up detailed computer and update status information. |
|
DownloadExpressPackages | Gets or sets whether express installation packages should be downloaded. |
|
DownloadUpdateBinariesAsNeeded | Gets or sets whether updates are downloaded only when they are approved. |
|
ExpiredEventDetectionPeriod | Gets or sets the period of time between scans for expired client and server events from the server. |
|
GetContentFromMU | Gets or sets whether update binaries are downloaded from Microsoft Update or from the upstream server. |
|
HasProxyPassword | Gets whether the proxy password is set. |
|
HostBinariesOnMicrosoftUpdate | Gets or sets whether updates are stored locally or whether clients download approved updates directly from Microsoft Update. |
|
IsReplicaServer | Gets or sets whether the WSUS server is a replica server. |
|
LastConfigChange | Gets the last time the configuration information changed. |
|
LocalContentCachePath | Gets the path of the local content cache. |
|
LocalPublishingMaxCabSize | Gets or sets the maximum .cab file size (in megabytes) that Local Publishing will create. |
|
MaximumAllowedComputers | Gets or sets the maximum number of computers allowed as targets of the WSUS server. |
|
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. |
|
ProxyName | Gets or sets the name of the proxy server. |
|
ProxyServerPort | Gets or sets the port number that is used to connect to the proxy server. |
|
ProxyUserDomain | Gets or sets the name of the domain that contains the user's logon account. |
|
ProxyUserName | Gets or sets the user name to use when accessing the proxy server. |
|
RevisionDeletionTimeThreshold | Gets or sets the number of days after the deletion of a revision before the revision can be deleted. |
|
ServerEventExpirationTime | Gets or sets the period of time that server events are retained before being removed from the database. |
|
ServerId | Gets the GUID of the WSUS server. |
|
ServerString | Gets or sets the string sent to the upstream server or to Microsoft Update to identify the server type. |
|
SslProxyName | Gets or sets the name of the proxy server for SSL communications. |
|
SslProxyServerPort | Gets or sets the port number used to connect with the proxy server for SSL communications. |
|
SupportedUpdateLanguages | Gets the languages that WSUS supports. |
|
SyncFromMicrosoftUpdate | Gets or sets whether the WSUS server synchronizes updates from Microsoft Update or a local WSUS server. |
|
TargetingMode | Gets or sets the current targeting mode. |
|
UpstreamWsusServerName | Gets or sets the name of a local server from which to synchronize updates. |
|
UpstreamWsusServerPortNumber | Gets or sets the port number to use to communicate with the upstream WSUS server. |
|
UpstreamWsusServerUseSsl | Gets or sets whether the WSUS server should use SSL (HTTPS) to communicate with an upstream server. |
|
UseProxy | Gets or sets whether to use a proxy to download updates. |
|
UseSeparateProxyForSsl | Gets or sets whether a separate proxy should be used for SSL communications with the upstream server. |
Methods
Name | Description | |
---|---|---|
GetEnabledUpdateLanguages() | Gets the language codes that are enabled on the WSUS server. |
|
GetProgramKeys() | Gets the program keys registered with the WSUS server. |
|
GetSigningCertificate(String) | Saves the current registered certificate to the specified path. |
|
GetUpdateServerConfigurationState() | Gets the database state, which determines whether the WSUS database is able to process requests at this time. |
|
GetUssEnabledUpdateLanguages() | Gets the update languages on the upstream server. |
|
Save() | Saves WSUS configuration information to the database. |
|
Save(Boolean) | Saves the server configuration information, specifying whether or not to throw an exception if the configuration has changed after it was loaded. |
|
SetEnabledUpdateLanguages(StringCollection) | Enables updates for the specified languages. |
|
SetProgramKeys(IEnumerable<ProgramKey>) | Sets the program keys to register. |
|
SetProxyPassword(SecureString) | Sets the password to use when accessing the proxy server. |
|
SetProxyPassword(String) | Sets the password to use when accessing the proxy server. |
|
SetSigningCertificate() | Creates and registers a new certificate in the WSUS store and removes any existing certificate. |
|
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. |
|
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