Get-SPOStructuralNavigationCacheWebState
取得 Web 的結構化導覽快取狀態。
Syntax
Get-SPOStructuralNavigationCacheWebState
-WebUrl <String>
[<CommonParameters>]
Description
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
指定要檢查其快取狀態之 Web 的絕對 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-SPOStructuralNavigationCacheWebState -examples」。
For more information, type: "get-help Get-SPOStructuralNavigationCacheWebState -detailed".
For technical information, type: "get-help Get-SPOStructuralNavigationCacheWebState -full".
For online help, type: "get-help Get-SPOStructuralNavigationCacheWebState -online"