Compartilhar via


IUpdateServerConfiguration.GetUssEnabledUpdateLanguages Method ()

 

Applies To: Windows Server Update Services

Gets the update languages on the upstream server.

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

Syntax

StringCollection GetUssEnabledUpdateLanguages()
StringCollection^ GetUssEnabledUpdateLanguages()
abstract GetUssEnabledUpdateLanguages : unit -> StringCollection
Function GetUssEnabledUpdateLanguages As StringCollection

Return Value

Type: System.Collections.Specialized.StringCollection

A collection of the update languages that are enabled on the upstream server. These values should be a subset of those returned by GetSupportedUpdateLanguages.

Remarks

All language ids are lower case. Be sure to use the ToLower() method when searching for a specific language, since StringCollection methods are case-sensitive. This method does not access the database to get enabled languages. Instead, this method will return the languages in the local IUpdateServerConfiguration object. To get a refreshed copy of the enabled languages, get a new instance of IUpdateServerConfiguration.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top