다음을 통해 공유


SPGlobalAdmin.ServerCulture property

NOTE: This API is now obsolete.

Obsolete. In Windows SharePoint Services 2.0 the ServerCulture property got information about the culture represented on the virtual server, and is maintained for backward compatibility.

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

Syntax

'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
Public Shared ReadOnly Property ServerCulture As CultureInfo
    Get
'Usage
Dim value As CultureInfo

value = SPGlobalAdmin.ServerCulture
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", 
    false)]
public static CultureInfo ServerCulture { get; }

Property value

Type: System.Globalization.CultureInfo
A System.Globalization.CultureInfo object that provides information about the culture (such as the language, country/region, calendar, and cultural conventions associated with a specific culture) that is required for performing culture-specific operations such as casing, formatting dates and numbers, and comparing strings.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace