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>Adds a new Synthesis Data Warehouse (SDW) data collection to a Synthesis repository. Returns a '''Boolean''' value; when true, indicates a successful save.</onlyinclude>
<onlyinclude>Adds a new data collection to a Synthesis repository's Synthesis Data Warehouse (SDW). Returns a '''Boolean''' value; when true, indicates a successful save.</onlyinclude>


== Syntax ==
== Syntax ==
Line 18: Line 18:
  {{APIComment|...}}
  {{APIComment|...}}
   
   
   {{APIComment|'Add code to create and populate a new SDW data collection.}}
   {{APIComment|'Add code to create and populate a new data collection.}}
   {{APIPrefix|Dim}} RDSet {{APIPrefix|As New}} RawDataSet
   {{APIPrefix|Dim}} RDSet {{APIPrefix|As New}} RawDataSet
  {{APIComment|...}}
  {{APIComment|...}}
   
   
  {{APIComment|'Add the data collection to the Synthesis repository.}}  
  {{APIComment|'Add the data collection to the repository's SDW.}}  
   {{APIPrefix|Call}} MyRepository.DataWarehouse.SaveRawDataSet(RDSet)
   {{APIPrefix|Call}} MyRepository.DataWarehouse.SaveRawDataSet(RDSet)


Line 31: Line 31:
  {{APIComment|...}}
  {{APIComment|...}}
   
   
   {{APIComment|'Add code to create and populate a new SDW data collection.}}
   {{APIComment|'Add code to create and populate a new data collection.}}
   {{APIPrefix|Dim}} RDSet {{APIPrefix|As New}} RawDataSet
   {{APIPrefix|Dim}} RDSet {{APIPrefix|As New}} RawDataSet
  {{APIComment|...}}
  {{APIComment|...}}
   
   
  {{APIComment|'Add the data collection to the Synthesis repository.}}  
  {{APIComment|'Add the data collection to the repository's SDW.}}  
   MyRepository.DataWarehouse.SaveRawDataSet(RDSet)
   MyRepository.DataWarehouse.SaveRawDataSet(RDSet)

Revision as of 19:05, 21 August 2015

APIWiki.png


Member of: SynthesisAPI10.Repository


Adds a new data collection to a Synthesis repository's Synthesis Data Warehouse (SDW). 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 data collection. 
 Dim RDSet As New RawDataSet
 ... 

 'Add the data collection to the repository's SDW.  
 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 data collection. 
 Dim RDSet As New RawDataSet
 ... 

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