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
)
参数
context
类型:Microsoft.SharePoint.Client.ClientRuntimeContext运行时上下文中。
compatibilityLevel
类型:System.Int32主要 SharePoint 版本到已安装的语言的查询的值。
返回值
类型:Microsoft.SharePoint.Client.ClientResult<[]>
已安装的语言的集合。