Share via


SiteCacheSettingsWriter.RestoreCacheSettingsOnImport method

Restores the previously saved caching related properties prior to doing the import operation.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Shared Sub RestoreCacheSettingsOnImport ( _
    importSiteUrl As String, _
    savedCacheSettings As SavedCacheSettings _
)
'Usage
Dim importSiteUrl As String
Dim savedCacheSettings As SavedCacheSettingsSiteCacheSettingsWriter.RestoreCacheSettingsOnImport(importSiteUrl, _
    savedCacheSettings)
public static void RestoreCacheSettingsOnImport(
    string importSiteUrl,
    SavedCacheSettings savedCacheSettings
)

Parameters

  • importSiteUrl
    Type: System.String

    A string that specifies the import site URL.

See also

Reference

SiteCacheSettingsWriter class

SiteCacheSettingsWriter members

Microsoft.SharePoint.Publishing namespace