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


Restores the backing store's cache from the file specified.
Syntax
'Declaration
 
Public Overloads Function RestoreAsync( _
   ByVal fileName As String, _
   Optional ByVal shouldReplace As Boolean, _
   Optional ByVal mergeStrategy As MergeStrategy _
) As Task
'Usage
 
Dim instance As EntityServerFakeBackingStore.Remote
Dim fileName As String
Dim shouldReplace As Boolean
Dim mergeStrategy As MergeStrategy
Dim value As Task
 
value = instance.RestoreAsync(fileName, shouldReplace, mergeStrategy)

Parameters

fileName
shouldReplace
mergeStrategy
Remarks
Note that the file should exist on the server.
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.Remote Class
EntityServerFakeBackingStore.Remote Members
Overload List

Send Feedback