SPGlobalAdmin.ServerLanguage property
NOTE: This API is now obsolete.
使用SPRegionalSettings類別之ServerLanguage屬性來取得改為 Web 應用程式中所用的語言。(在Windows SharePoint Services 2.0ServerLanguage屬性 got 虛擬伺服器上所用的語言及維護的回溯相容性。)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use SPRegionalSettings.GlobalServerLanguage instead.", _
False)> _
Public ReadOnly Property ServerLanguage As SPLanguage
Get
'用途
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
SPLanguage 物件,代表的語言。