ArcFM Responder Mobile Developer Guide
Submit(IDataServices,DataSet) Method






A reference to IDataServices (see GetDataServices)
A DataSet to submit
Properly handles the details of submitting a DataSet to IDataServices.
Syntax
'Declaration
 
Public Overloads Shared Function Submit( _
   ByVal dataServices As IDataServices, _
   ByVal source As System.Data.DataSet _
) As System.Boolean
'Usage
 
Dim dataServices As IDataServices
Dim source As System.Data.DataSet
Dim value As System.Boolean
 
value = ResponderServices.Submit(dataServices, source)
public static System.bool Submit( 
   IDataServices dataServices,
   System.Data.DataSet source
)
public function Submit( 
    dataServices: IDataServices;
    source: System.Data.DataSet
): System.Boolean; static; 
public static function Submit( 
   dataServices : IDataServices,
   source : System.Data.DataSet
) : System.boolean;
public: static System.bool Submit( 
   IDataServices* dataServices,
   System.Data.DataSet* source
) 
public:
static System.bool Submit( 
   IDataServices^ dataServices,
   System.Data.DataSet^ source
) 

Parameters

dataServices
A reference to IDataServices (see GetDataServices)
source
A DataSet to submit

Return Value

True if there were changes successfully submitted.
Remarks
This function takes care of some house-cleaning steps that are required to properly handle the merging of the response (the DataSet returned by IDataServices.Submit). This includes removing Added DataRows and copying across the ExtendedProperties of each DataTable in the response DataSet to the source DataSet (includes a mapping between the negative client-side autogenerated primary key and the "actual" database generated primary key).
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

ResponderServices Class
ResponderServices Members
Overload List

Send Feedback