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


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

Parameters

stream
shouldReplace
mergeStrategy
useBinaryFormat
Remarks
The stream should have been saved previously using either Save(Stream,Boolean) 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