Set-SPOBuiltInDesignPackageVisibility
设置网站创建时可用内置设计包的可见性。
语法
Set-SPOBuiltInDesignPackageVisibility
[-IsVisible] <Boolean>
[-DesignPackage] <DesignPackageType>
[<CommonParameters>]
说明
设置可用内置设计包的可见性。 有关详细信息,请参阅 从发布网站移动到通信网站
示例
示例 1
Set-SPOBuiltInDesignPackageVisibility -DesignPackage Showcase -IsVisible:$false
本示例将展示设计包的可见性设置为 false。
参数
-DesignPackage
设计包的名称,可用名称为
- 主题
- 展示
- 空白
- TeamSite
Type: | DesignPackageType |
Accepted values: | None, Topic, Showcase, Blank, TeamSite |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsVisible
确定设计包是否可见
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
None
输出
System.Object