Repository.DataWarehouse.SaveRawDataSet: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:




<onlyinclude>Saves a new [[RawDataSet Class|RawDataSet]] object, which represent a Synthesis Data Warehouse (SDW) data collection, to the repository. Returns a '''Boolean''' value; when true, indicates a successful save.</onlyinclude>
<onlyinclude>Adds a new Synthesis Data Warehouse (SDW) data collection to a Synthesis repository. Returns a '''Boolean''' value; when true, indicates a successful save.</onlyinclude>


== Syntax ==
== Syntax ==
Line 9: Line 9:
=== Parameters ===
=== Parameters ===
''DataSet''
''DataSet''
: The [[RawDataSet Class|RawDataSet]] object to be added. (Required)
:Required. The [[RawDataSet Class|RawDataSet]] object to be added.


== Example ==
== Example ==
  '''VBA|VB.NET'''  
  '''VBA'''  
   
   
  {{APIComment|'Add code to connect to a Synthesis repository.}}
  {{APIComment|'Add code to connect to a Synthesis repository.}}
Line 22: Line 22:
  {{APIComment|...}}
  {{APIComment|...}}
   
   
  {{APIComment|'Save the data collection to the Synthesis repository. The data will be visible in the Synthesis repository upon refresh.}}  
  {{APIComment|'Add the data collection to the Synthesis repository.}}  
   {{APIPrefix|Call}} MyRepository.DataWarehouse.SaveRawDataSet(RDSet)
   {{APIPrefix|Call}} MyRepository.DataWarehouse.SaveRawDataSet(RDSet)
'''VB.NET'''
{{APIComment|'Add code to connect to a Synthesis repository.}}
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
{{APIComment|...}}
  {{APIComment|'Add code to create and populate a new SDW data collection.}}
  {{APIPrefix|Dim}} RDSet {{APIPrefix|As New}} RawDataSet
{{APIComment|...}}
{{APIComment|'Add the data collection to the Synthesis repository.}}
  MyRepository.DataWarehouse.SaveRawDataSet(RDSet)

Revision as of 18:56, 21 August 2015

APIWiki.png


Member of: SynthesisAPI10.Repository


Adds a new Synthesis Data Warehouse (SDW) data collection to a Synthesis repository. Returns a Boolean value; when true, indicates a successful save.

Syntax

.DataWarehouse.SaveRawDataSet(DataSet)

Parameters

DataSet

Required. The RawDataSet object to be added.

Example

VBA 

 'Add code to connect to a Synthesis repository. 
  Dim MyRepository As New Repository
 ... 

  'Add code to create and populate a new SDW data collection. 
 Dim RDSet As New RawDataSet
 ... 

 'Add the data collection to the Synthesis repository.  
 Call MyRepository.DataWarehouse.SaveRawDataSet(RDSet)
VB.NET 

 'Add code to connect to a Synthesis repository. 
  Dim MyRepository As New Repository
 ... 

  'Add code to create and populate a new SDW data collection. 
 Dim RDSet As New RawDataSet
 ... 

 'Add the data collection to the Synthesis repository.  
 MyRepository.DataWarehouse.SaveRawDataSet(RDSet)