IUpdate.GetSupportedUpdateLanguages Method ()
Applies To: Windows Server Update Services
Gets a collection of the languages that this update supports.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
StringCollection GetSupportedUpdateLanguages()
StringCollection^ GetSupportedUpdateLanguages()
abstract GetSupportedUpdateLanguages : unit -> StringCollection
Function GetSupportedUpdateLanguages As StringCollection
Return Value
Type: System.Collections.Specialized.StringCollection
Collection of language codes that the update supports.
Remarks
The language codes follow the format specified in RFC1766, for example, "en" for English or "pt-br" for Portuguese (Brazil). WSUS supports a subset of the language and culture codes specified in ISO 639 and ISO 3166, respectively.
A value of All indicates that the update applies to all languages.
Note
WSUS stores the language codes in lowercase, so if you use StringCollection.Contains to determine if the collection contains a specific language code, you must specify the language code in lowercase (Contains performs a case-sensitive comparison).
See Also
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace
Return to top