Share via


Set-SPOStructuralNavigationCacheWebState

Habilite ou desabilite o cache de uma Web em uma coleção de sites.

Syntax

Set-SPOStructuralNavigationCacheWebState
   -WebUrl <String>
   -IsEnabled <Boolean>
   [<CommonParameters>]

Description

O cmdlet Set-SPOStructuralNavigationCacheWebState pode ser usado para habilitar ou desabilitar o cache de uma Web em uma coleção de sites. Saiba mais.

Exemplos

Exemplo 1

PS C:\> Set-SPOStructuralNavigationCacheWebState -IsEnabled $true -WebUrl "https://contoso.sharepoint.com/sites/product/electronics"

Este exemplo permite o cache para a Web https://contoso.sharepoint.com/sites/product/electronics.

Exemplo 2

Set-SPOStructuralNavigationCacheWebState -IsEnabled $false -WebUrl "https://contoso.sharepoint.com/sites/product/electronics"

Este exemplo desabilita o cache para a Web https://contoso.sharepoint.com/sites/product/electronics.

Parâmetros

-IsEnabled

$verdadeiro para habilitar o cache,$falso para desabilitar o cache.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-WebUrl

Especifica a URL absoluta para a Web que precisa que seu estado de cache seja definido.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

Entradas

None

Saídas

System.Object

Observações

Para ver os exemplos, digite: "obter ajuda Set-SPOStructuralNavigationCacheWebState -exemplos".

For more information, type: "get-help Set-SPOStructuralNavigationCacheWebState -detailed". 

For technical information, type: "get-help Set-SPOStructuralNavigationCacheWebState -full". 

For online help, type: "get-help Set-SPOStructuralNavigationCacheWebState -online"