JAMS 6.x Help
RestoreData Method (ICurJobCommandDataSQL)


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.Byte()
'Usage
 
Dim instance As ICurJobCommandDataSQL
Dim jamsEntry As System.Integer
Dim objectId As System.Guid
Dim value() As System.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.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

ICurJobCommandDataSQL Interface
ICurJobCommandDataSQL Members

Send Feedback