Repository.DataWarehouse.SaveRawDataSet

From ReliaWiki
Revision as of 19:20, 9 June 2016 by Kate Racaza (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
APIWiki.png


Member of: SynthesisAPI.Repository


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

Syntax

.DataWarehouse.SaveRawDataSet(DataSet)

Parameters

DataSet

Required. The RawDataSet object that represents the Synthesis Data Warehouse (SDW) data collection.

Example

VBA 

 'Declare a new Repository object and connect to a Synthesis repository. 
  Dim MyRepository As New Repository
  MyRepository.ConnectToAccessRepository("C:\RSRepository1.rsr10")

 '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 

 'Declare a new Repository object and connect to a Synthesis repository. 
  Dim MyRepository As New Repository
  MyRepository.ConnectToAccessRepository("C:\RSRepository1.rsr10")

 '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)