Add-SPOHubToHubAssociation
将中心网站关联到中心站点。 注意:此功能目前为预览版,可能在租户中不可用。
语法
Default (默认值)
Add-SPOHubToHubAssociation
[-Source] <Guid>
-Target <Guid>
[<CommonParameters>]
说明
使用此 cmdlet 将中心网站关联到中心网站。
示例
示例 1
Add-SPOHubToHubAssociation -Source 7b6fd3a3-b029-4eb0-8e00-ba4a3949807d -Target 43a36572-37ec-45c3-9058-061a2db4cd26
本示例将源中心网站与 HubSiteId 7b6fd3a3-b029-4eb0-8e00-ba4a3949807d 与目标中心网站关联,其中 HubSiteId 为 43a36572-37ec-45c3-9058-061a2db4cd26。
参数
-Source
适用:SharePoint Online
要与目标中心站点关联的源中心站点的 HubSiteId。
参数属性
| 类型: | System.Guid |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 0 |
| 必需: | True |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Target
适用:SharePoint Online
要关联源中心的目标中心的 HubSiteId。
参数属性
| 类型: | System.Guid |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。
输入
System.Guid
输出
System.Object
备注
SPOHubToHubAssociation 只是占位符,尚未准备好投入生产。