Share via


SPGlobalAdmin.ServerLanguage property

NOTE: This API is now obsolete.

Use the ServerLanguage property of the SPRegionalSettings class to get the language used in the Web application instead. (In Windows SharePoint Services 2.0 the ServerLanguage property got the language used on the virtual server, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPRegionalSettings.GlobalServerLanguage instead.",  _
    False)> _
Public ReadOnly Property ServerLanguage As SPLanguage
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As SPLanguage

value = instance.ServerLanguage
[ObsoleteAttribute("Use SPRegionalSettings.GlobalServerLanguage instead.", 
    false)]
public SPLanguage ServerLanguage { get; }

Property value

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

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace