SPRegionalSettings.GlobalServerLanguage Property

Gets the language in which SharePoint Foundation was originally installed.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


Public Shared ReadOnly Property GlobalServerLanguage As SPLanguage
Dim value As SPLanguage

value = SPRegionalSettings.GlobalServerLanguage
public static SPLanguage GlobalServerLanguage { get; }

Property Value

Type: Microsoft.SharePoint.SPLanguage
An SPLanguage object that represents the language.


If you install SharePoint Foundation in English, for example, and then subsequently install other languages, the GlobalServerLanguage property always returns English as the language.

See Also


SPRegionalSettings Class

SPRegionalSettings Members

Microsoft.SharePoint Namespace