Get-SPOStructuralNavigationCacheSiteState
取得網站集合的結構化導覽快取狀態。
Syntax
Get-SPOStructuralNavigationCacheSiteState
-SiteUrl <String>
[<CommonParameters>]
Description
Get-SPOStructuralNavigationCacheSiteState Cmdlet 可用來判斷是否已啟用或停用網站集合的結構化導覽快取。 深入了解。
範例
範例 1
PS C:\> Get-SPOStructuralNavigationCacheSiteState -SiteUrl "https://contoso.sharepoint.com/sites/product/"
此範例會檢查是否已針對整個網站集合 https://contoso.sharepoint.com/sites/product/ 啟用結構化導覽快取。 如果已啟用快取,則會傳回 True。 如果快取已停用,則會傳回 False。
參數
-SiteUrl
指定要檢查其快取狀態之網站集合根網站的絕對 URL。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
輸入
None
輸出
System.Object
備註
若要查看範例,請輸入:「get-help Get-SPOStructuralNavigationCacheSiteState -examples」。
For more information, type: "get-help Get-SPOStructuralNavigationCacheSiteState -detailed".
For technical information, type: "get-help Get-SPOStructuralNavigationCacheSiteState -full".
For online help, type: "get-help Get-SPOStructuralNavigationCacheSiteState -online"