Export (0) Print
Expand All

SPRegionalSettings.GlobalServerLanguage property

Gets the language in which SharePoint Foundation was originally installed.

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

Public Shared ReadOnly Property GlobalServerLanguage As SPLanguage
Dim value As SPLanguage

value = SPRegionalSettings.GlobalServerLanguage

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.

© 2015 Microsoft