다음을 통해 공유


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

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