IUpdate.GetSupportedUpdateLanguages()

Retrieves a collection of the languages that this update supports.

public StringCollection GetSupportedUpdateLanguages();
Public Function GetSupportedUpdateLanguages() As StringCollection
Implements IUpdate.GetSupportedUpdateLanguages

Parameters

This method has no parameters.

Return Value

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 UpdateLanguage.All indicates that the update applies to all languages.

Note that 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).

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.

See Also

IUpdateServerConfiguration.SupportedUpdateLanguages