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 BooleanSiteCacheSettingsWriter.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