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.StringA string that specifies the import site URL.
savedCacheSettings
Type: Microsoft.SharePoint.Publishing.SavedCacheSettingsAn object that represents previously saved cache settings.