共用方式為


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

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