Share via


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 Boolean

SiteCacheSettingsWriter.UpdateCacheSettingsDuringImport(importSiteUrl, _
    isImportInProgress)
public static void UpdateCacheSettingsDuringImport(
    string importSiteUrl,
    bool isImportInProgress
)

Parameters

  • isImportInProgress
    Type: System.Boolean
    Whether an import is in progress.

See Also

Reference

SiteCacheSettingsWriter Class

SiteCacheSettingsWriter Members

Microsoft.SharePoint.Publishing Namespace