共用方式為


ServerSettings.GetGlobalInstalledLanguages 方法

取得已安裝的語言與指定的 SharePoint 版本相容的清單。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Shared Function GetGlobalInstalledLanguages ( _
    context As ClientRuntimeContext, _
    compatibilityLevel As Integer _
) As ClientResult(Of Language())
'用途
Dim context As ClientRuntimeContext
Dim compatibilityLevel As Integer
Dim returnValue As ClientResult(Of Language())

returnValue = ServerSettings.GetGlobalInstalledLanguages(context, _
    compatibilityLevel)
public static ClientResult<Language[]> GetGlobalInstalledLanguages(
    ClientRuntimeContext context,
    int compatibilityLevel
)

參數

  • compatibilityLevel
    類型:System.Int32

    若要查詢的主要的 SharePoint 版本的值安裝的語言。

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<[]>
已安裝的語言集合。

請參閱

參照

ServerSettings 類別

ServerSettings 成員

Microsoft.SharePoint.Client 命名空間