Get-SPOStructuralNavigationCacheSiteState

获取网站集的结构导航缓存状态。

语法

Default (默认值)

Get-SPOStructuralNavigationCacheSiteState
    -SiteUrl <String>
    [<CommonParameters>]

说明

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

示例

示例 1

PS C:\> Get-SPOStructuralNavigationCacheSiteState -SiteUrl "https://contoso.sharepoint.com/sites/product/"

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

参数

-SiteUrl

适用: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-SPOStructuralNavigationCacheSiteState -examples”。

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

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

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