Sharepoint 2010 更改SharePoint 2010命令行管理程序中的节流阀配置

Sharepoint 2010 更改SharePoint 2010命令行管理程序中的节流阀配置,sharepoint-2010,threshold,throttling,external-contenttype,Sharepoint 2010,Threshold,Throttling,External Contenttype,我正在开发环境中工作,刚刚通过SharePoint Designer设置了一个外部内容类型 我的列表返回并出错,从我所能收集到的信息来看,这是因为它试图返回的项目超过了油门配置中的限制 我已经用一个包含60个项目的列表对它进行了测试,效果很好 我已尝试使用命令更新它 设置SPBusinessDataCatalogThrottleConfig 它要求以下值 身份: 最高限额:100000 默认值:12000 我得到这个错误 cmdlet Set-SPBusinessDataCatalogThrot

我正在开发环境中工作,刚刚通过SharePoint Designer设置了一个外部内容类型

我的列表返回并出错,从我所能收集到的信息来看,这是因为它试图返回的项目超过了油门配置中的限制

我已经用一个包含60个项目的列表对它进行了测试,效果很好

我已尝试使用命令更新它


设置SPBusinessDataCatalogThrottleConfig

它要求以下值

身份: 最高限额:100000 默认值:12000

我得到这个错误

cmdlet Set-SPBusinessDataCatalogThrottleConfig at command pipeline position 1
Supply values for the following parameters:
Identity:
Maximum:
Default:
Set-SPBusinessDataCatalogThrottleConfig : Cannot bind parameter 'Identity'. Can
not convert the "" value of type "System.String" to type "Microsoft.SharePoint.
BusinessData.SharedService.ThrottleConfig".
At line:1 char:40
+ set-spbusinessdatacatalogthrottleconfig <<<<
    + CategoryInfo          : InvalidArgument: (:) [Set-SPBusinessDataCatalogT
   hrottleConfig], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.SharePo
   int.BusinessData.SharedService.SPSetSPBusinessDataCatalogThrottleConfig
cmdlet在命令管道位置1设置SPBusinessDataCatalogThrottleConfig
提供以下参数的值:
身份:
最大值:
违约:
Set-SPBusinessDataCatalogThrottleConfig:无法绑定参数“Identity”。可以
不将“类型”System.String“的值”转换为“Microsoft.SharePoint”类型。
BusinessData.SharedService.ThrottleConfig”。
第1行字符:40

+set-spbusinessdatacatalogthrottleconfigset-spbusinessdatacatalogthrottleconfig cmdlet需要知道您正在更改的配置。试试这个:

$bdcProxy = Get-SPServiceApplicationProxy | where {$_.GetType().FullName -eq ('Microsoft.SharePoint.BusinessData.SharedService.' + 'BdcServiceApplicationProxy')}
$dbRule = Get-SPBusinessDataCatalogThrottleConfig -Scope Database -ThrottleType Items -ServiceApplicationProxy $bdcProxy
Set-SPBusinessDataCatalogThrottleConfig -Identity $dbRule -Maximum 100000 -Default 12000