DevForce Help Reference
Restore(String,Boolean,MergeStrategy) Method


Restores the backing store's cache from the file specified.
Syntax
'Declaration
 
Public Overloads Sub Restore( _
   ByVal fileName As String, _
   Optional ByVal shouldReplace As Boolean, _
   Optional ByVal mergeStrategy As MergeStrategy _
) 
'Usage
 
Dim instance As EntityServerFakeBackingStore.Local
Dim fileName As String
Dim shouldReplace As Boolean
Dim mergeStrategy As MergeStrategy
 
instance.Restore(fileName, shouldReplace, mergeStrategy)

Parameters

fileName
shouldReplace
mergeStrategy
Remarks
The file should have been saved previously using either Save(String) or the SaveCacheState method of the CacheStateManager.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityServerFakeBackingStore.Local Class
EntityServerFakeBackingStore.Local Members
Overload List

Send Feedback