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)
Available in Sandboxed Solutions: No
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.