Set-SPOStructuralNavigationCacheSiteState

Habilitar ou desabilitar o cache para todas as webs em uma conjunto de sites.

Syntax

Set-SPOStructuralNavigationCacheSiteState
   -SiteUrl <String>
   -IsEnabled <Boolean>
   [<CommonParameters>]

Description

O cmdlet Set-SPOStructuralNavigationCacheSiteState pode ser usado para habilitar ou desabilitar o cache para todas as webs em um conjunto de sites. Saiba mais.

Exemplos

Exemplo 1

PS C:\> Set-SPOStructuralNavigationCacheSiteState -IsEnabled $true -SiteUrl "https://contoso.sharepoint.com/sites/product/"

Este exemplo habilita o cache para todas as webs no conjunto de sites https://contoso.sharepoint.com/sites/product/.

Exemplo 2

PS C:\> Set-SPOStructuralNavigationCacheSiteState -IsEnabled $false -SiteUrl "https://contoso.sharepoint.com/sites/product/"

Este exemplo desabilita o cache para todas as webs no coleção de sites https://contoso.sharepoint.com/sites/product/.

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

-SiteUrl

Especifica o URL absoluto para a raiz web do conjunto do sites 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-SPOStructuralNavigationCacheSiteState -exemplos".

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

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

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