Repository.DataWarehouse.SaveRawDataSet: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:APIClass|Repository Class|Repository}} == Declaration == {{APIPrefix|Public Function}} {{APIName|SaveRawDataSet(}} {{APIPrefix|ByVal}} {{APIName|DataSet}} {{APIName…')
 
No edit summary
 
(44 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}}


== Declaration  ==


{{APIPrefix|Public Function}}
<onlyinclude>Adds a new Synthesis Data Warehouse (SDW) data collection to the associated Repository object. Returns a '''Boolean''' value; when true, indicates a successful save.</onlyinclude>
{{APIName|SaveRawDataSet(}}
{{APIPrefix|ByVal}}
{{APIName|DataSet}}
{{APIName|RawDataSet)}}
{{APIPrefix|As As Boolean}}


{{APIComment|Saves the raw data set in the repository.}}
== Syntax ==
'''.DataWarehouse.SaveRawDataSet'''(''DataSet'')
 
=== Parameters ===
''DataSet''
:Required. The [[RawDataSet Class|RawDataSet]] object that represents the Synthesis Data Warehouse (SDW) data collection.
 
== Example ==
'''VBA'''
{{APIComment|'Declare a new Repository object and connect to a Synthesis repository.}}
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}})
{{APIComment|'Add code to create and populate a new data collection.}}
  {{APIPrefix|Dim}} RDSet {{APIPrefix|As New}} RawDataSet
  {{APIComment|...}}
{{APIComment|'Add the data collection to the repository's SDW.}}
  {{APIPrefix|Call}} MyRepository.DataWarehouse.SaveRawDataSet(RDSet)
 
'''VB.NET'''
{{APIComment|'Declare a new Repository object and connect to a Synthesis repository.}}
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}})
{{APIComment|'Add code to create and populate a new data collection.}}
  {{APIPrefix|Dim}} RDSet {{APIPrefix|As New}} RawDataSet
{{APIComment|...}}
{{APIComment|'Add the data collection to the repository's SDW.}}  
  MyRepository.DataWarehouse.SaveRawDataSet(RDSet)

Latest revision as of 19:20, 9 June 2016

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)