Share via


SiteCacheSettingsWriter.SaveCacheSettingsBeforeImport method

Save the caching related properties to be restored prior to doing the import operation.

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

Syntax

'Declaration
Public Shared Function SaveCacheSettingsBeforeImport ( _
    importSiteUrl As String _
) As SavedCacheSettings
'Usage
Dim importSiteUrl As String
Dim returnValue As SavedCacheSettings

returnValue = SiteCacheSettingsWriter.SaveCacheSettingsBeforeImport(importSiteUrl)
public static SavedCacheSettings SaveCacheSettingsBeforeImport(
    string importSiteUrl
)

Parameters

  • importSiteUrl
    Type: System.String

    A string that specifies the import site URL.

Return value

Type: Microsoft.SharePoint.Publishing.SavedCacheSettings

See also

Reference

SiteCacheSettingsWriter class

SiteCacheSettingsWriter members

Microsoft.SharePoint.Publishing namespace