JAMS Developer Guide
RestoreData Method (IEntryWCF)


MVPSI.JAMS Namespace > IEntryWCF Interface : RestoreData Method
The entry number for which to restore the object.
A guid that identifies the object to restore.
Restores a serialized object from the database.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function RestoreData( _
   ByVal jamsEntry As System.Integer, _
   ByVal objectId As System.Guid _
) As System.Threading.Tasks.Task(Of Byte())
'Usage
 
Dim instance As IEntryWCF
Dim jamsEntry As System.Integer
Dim objectId As System.Guid
Dim value As System.Threading.Tasks.Task(Of Byte())
 
value = instance.RestoreData(jamsEntry, objectId)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<byte[]> RestoreData( 
   System.int jamsEntry,
   System.Guid objectId
)

Parameters

jamsEntry
The entry number for which to restore the object.
objectId
A guid that identifies the object to restore.

Return Value

The byte array of the object data.
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

IEntryWCF Interface
IEntryWCF Members