SPRegionalSettings.GlobalServerLanguage property

Gets the language in which SharePoint Foundation was originally installed.

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

Syntax

'Declaration
Public Shared ReadOnly Property GlobalServerLanguage As SPLanguage
    Get
'Usage
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.

Remarks

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

Reference

SPRegionalSettings class

SPRegionalSettings members

Microsoft.SharePoint namespace