Repository.DataWarehouse.SaveRawDataSet: Difference between revisions
Jump to navigation
Jump to search
Alex Ulanov (talk | contribs) |
Alex Ulanov (talk | contribs) |
||
Line 27: | Line 27: | ||
{{APIComment|'Save the raw data to the Synthesis repository.}} | {{APIComment|'Save the raw data to the Synthesis repository.}} | ||
Dim SuccessSaveRawData As Boolean | Dim SuccessSaveRawData As Boolean | ||
SuccessSaveRawData = MyRepository.SaveRawDataSet(RDSet) | SuccessSaveRawData = MyRepository.DataWarehouse.SaveRawDataSet(RDSet) |
Revision as of 16:49, 22 May 2015
Returns True if successful, otherwise returns False.
To view an added data set in Weibull++ or RGA, choose Project > Synthesis > RDW to Folio.
Syntax
- SaveRawDataSet( DataSet As RawDataSet ) As Boolean
Parameters:
- DataSet: The raw data object.
Usage Example
'Declare a new repository connection object. Dim MyRepository As New Repository 'Connect to the Synthesis repository. Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") 'Declare and populate a RawData object and a RawDataSet. 'In this example, the first Incident information is used. Dim RD As New RawData '<Populate relevant RawData variables in RD.> Dim RDSet As New RawDataSet RDSet.AddDataRow(RD) 'Save the raw data to the Synthesis repository. Dim SuccessSaveRawData As Boolean SuccessSaveRawData = MyRepository.DataWarehouse.SaveRawDataSet(RDSet)