Share via


ServerSettings.GetGlobalInstalledLanguages method

Gets a list of installed languages that are compatible with a given version of SharePoint.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function GetGlobalInstalledLanguages ( _
    context As ClientRuntimeContext, _
    compatibilityLevel As Integer _
) As ClientResult(Of Language())
'Usage
Dim context As ClientRuntimeContext
Dim compatibilityLevel As Integer
Dim returnValue As ClientResult(Of Language())

returnValue = ServerSettings.GetGlobalInstalledLanguages(context, _
    compatibilityLevel)
public static ClientResult<Language[]> GetGlobalInstalledLanguages(
    ClientRuntimeContext context,
    int compatibilityLevel
)

Parameters

  • compatibilityLevel
    Type: System.Int32

    The value of the major SharePoint version to query for installed languages.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<[]>
A collection of installed languages.

See also

Reference

ServerSettings class

ServerSettings members

Microsoft.SharePoint.Client namespace