共用方式為


SPGlobalAdmin.ServerCulture property

NOTE: This API is now obsolete.

已過時。在Windows SharePoint Services 2.0ServerCulture屬性 got 表示虛擬伺服器上的文化特性的相關資訊,並維持回溯相容性。

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

Syntax

'宣告
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
Public Shared ReadOnly Property ServerCulture As CultureInfo
    Get
'用途
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
System.Globalization.CultureInfo物件,它提供所需執行文化作業,例如大小寫、 日期和數字格式設定和比較字串 (例如語言、 國家 (地區)、 行事曆和特定的文化特性相關聯的文化特性慣例) 的文化特性的相關資訊。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace