JAMS Developer Guide
SaveData Method (IEntryWCF)


MVPSI.JAMS Namespace > IEntryWCF Interface : SaveData Method
The entry number for which to save the object.
A guid that identifies the type of data being stored.
The object to be stored.
When true the data is sent to the entry.
An audit trail message.
An audit trail comment.
Saves a serialized object to the database.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function SaveData( _
   ByVal jamsEntry As System.Integer, _
   ByVal objectId As System.Guid, _
   ByVal obj() As System.Byte, _
   ByVal sendToJob As System.Boolean, _
   ByVal message As System.String, _
   ByVal comment As System.String _
) As System.Threading.Tasks.Task
'Usage
 
Dim instance As IEntryWCF
Dim jamsEntry As System.Integer
Dim objectId As System.Guid
Dim obj() As System.Byte
Dim sendToJob As System.Boolean
Dim message As System.String
Dim comment As System.String
Dim value As System.Threading.Tasks.Task
 
value = instance.SaveData(jamsEntry, objectId, obj, sendToJob, message, comment)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task SaveData( 
   System.int jamsEntry,
   System.Guid objectId,
   System.byte[] obj,
   System.bool sendToJob,
   System.string message,
   System.string comment
)

Parameters

jamsEntry
The entry number for which to save the object.
objectId
A guid that identifies the type of data being stored.
obj
The object to be stored.
sendToJob
When true the data is sent to the entry.
message
An audit trail message.
comment
An audit trail comment.
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