SPRegionalSettings.GlobalServerLanguage property
取得在SharePoint Foundation原本已安裝的語言。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared ReadOnly Property GlobalServerLanguage As SPLanguage
Get
'用途
Dim value As SPLanguage
value = SPRegionalSettings.GlobalServerLanguage
public static SPLanguage GlobalServerLanguage { get; }
Property value
Type: Microsoft.SharePoint.SPLanguage
SPLanguage 物件,代表的語言。
備註
如果您以英文,範例中,安裝SharePoint Foundation ,則後續安裝其他語言,則GlobalServerLanguage屬性一定會傳回英文為語言。