SiteCacheSettingsWriter.UpdateCacheSettingsDuringImport method
Updates the siteCacheSetting to indicate that an import operation is or is not currently in progress.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Sub UpdateCacheSettingsDuringImport ( _
importSiteUrl As String, _
isImportInProgress As Boolean _
)
'Usage
Dim importSiteUrl As String
Dim isImportInProgress As BooleanSiteCacheSettingsWriter.UpdateCacheSettingsDuringImport(importSiteUrl, _
isImportInProgress)
public static void UpdateCacheSettingsDuringImport(
string importSiteUrl,
bool isImportInProgress
)
Parameters
importSiteUrl
Type: System.StringImport Site URL.
isImportInProgress
Type: System.BooleanWhether an import is in progress.