GlobalServerLanguage Property

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 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.

© 2016 Microsoft