Get-SPOStructuralNavigationCacheWebState

获取 Web 的结构化导航缓存状态。

语法

Default (默认值)

Get-SPOStructuralNavigationCacheWebState
    -WebUrl <String>
    [<CommonParameters>]

说明

Get-SPOStructuralNavigationCacheWebState cmdlet 可用于确定是否为网站集中的 Web 启用或禁用结构导航缓存。 了解详细信息

示例

示例 1

PS C:\> Get-SPOStructuralNavigationCacheWebState -weburl "https://contoso.sharepoint.com/sites/product/electronics"

此示例检查是否为 Web https://contoso.sharepoint.com/sites/product/electronics启用了结构导航缓存。 如果启用了缓存,则返回 True。 如果禁用缓存,则返回 False。

参数

-WebUrl

适用:SharePoint Online 指定要检查其缓存状态的 Web 的绝对 URL。

参数属性

类型:System.String
默认值: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

输入

None

输出

System.Object

备注

若要查看示例,请键入:“get-help Get-SPOStructuralNavigationCacheWebState -examples”。

有关详细信息,请键入:“get-help Get-SPOStructuralNavigationCacheWebState -detailed”。

有关技术信息,请键入:“get-help Get-SPOStructuralNavigationCacheWebState -full”。

有关联机帮助,请键入:“get-help Get-SPOStructuralNavigationCacheWebState -online”