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
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe runtime context.
compatibilityLevel
Type: System.Int32The value of the major SharePoint version to query for installed languages.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<[]>
A collection of installed languages.