Set-SPOStructuralNavigationCacheSiteState

사이트 모음의 모든 웹에 대해 캐싱을 설정하거나 사용하지 않도록 설정하세요.

Syntax

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

Description

Set-SPOStructuralNavigationCacheSiteState cmdlet을 사용하여 사이트 모음의 모든 웹에 대해 캐싱을 설정하거나 사용하지 않도록 설정할 수 있습니다. 자세한 정보를 확인합니다.

예제

예 1

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

이 예에서는 사이트 모음 https://contoso.sharepoint.com/sites/product/에 있는 모든 웹에 대해 캐슁을 사용하도록 설정합니다.

예 2

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

이 예에서는 사이트 모음 https://contoso.sharepoint.com/sites/product/에 있는 모든 웹에 대해 캐슁을 사용하지 않도록 설정합니다.

매개 변수

-IsEnabled

캐시를 사용하려면 $true로, 캐시를 사용하지 않으려면 $false로 설정합니다.

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

-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 Set-SPOStructuralNavigationCacheSiteState -examples"를 입력합니다.

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"