Remove-ecsfiletrustedlocation:Stsadm 操作 (Office SharePoint Server)

操作名称:Remove-ecsfiletrustedlocation

说明

允许管理员从受信任位置列表中删除某个条目。

此操作与以下操作等效:访问共享服务管理网站的“Excel Services 受信任文件位置”页面、选择数据连接库以及在下拉菜单上单击“删除”。

语法

stsadm -o remove-ecsfiletrustedlocation

   -ssp <SSP name>

   -location <URL or UNC>

   -LocationType {SharePoint | UNC | HTTP}

参数

参数

是否必需

说明

ssp

一个有效的 SSP 名称,例如“SharedServices1”

为要配置的 Excel Calculation Services 提供资源的 SSP 的名称。

location

受信任文件夹的有效位置

有效值为:

  • 格式为 http(s)://host/path 的 URL

  • 格式为 \\server_name\share 的 UNC

受信任的目录以及应删除的目录的 URL 或 UNC。此参数的格式由特定位置的 locationtype 参数的值确定。

最大长度为 1024 个字符。

locationtype

以下受支持的类型之一:

  • SharePoint

  • UNC

  • HTTP

指定位置类型。

如果值为 SharePoint 或 Http,则 location 参数的值为有效的 URL。

如果值为 UNC,则 location 参数的值为有效的 UNC。

另请参见

概念

Add-ecsfiletrustedlocation:Stsadm 操作