User:Kate Racaza/test page: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="noprint">
{| {{APITable|37%}}
{| width="300" align="right" class="FCK__ShowTableBorders" border="0" cellspacing="0" cellpadding="5"
|-
|-
| width="10" bgcolor="#ffffff" rowspan="2" | <br>
==Constructor==
| align="left" valign="middle" style="border: 1px solid rgb(206, 242, 224); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" |
{| width="100%" align="left" class="FCK__ShowTableBorders" border="0" cellspacing="1" cellpadding="1"
|-
|-
|}
|RawDataSet||Creates an instance of the RawDataSet class.


<span style="font-size: 9pt; font-weight: normal; font-name: tahoma;">
|-
*[[#Methods|Methods]]
== Methods ==
*[[#Version Information|Version Information]]
|-
*[[#Example|Example]]
|[[RawDataSet.AddDataRow|AddDataRow]]||{{:RawDataSet.AddDataRow}}
</span>
|-
|Clear||Clears all data points saved in the RawDataSet object.


|-
== Properties ==
|-
|ExtractedName||''String''. The name of the SDW data collection.}}
|-
|ExtractedDate||''Date''. The date when the data set was extracted.}}
|-
|ExtractedBy||''String''. The name of the person who extracted the data set.}}
|-
|ExtractedType||Gets or sets one of the constants of the [[AnalyticalDataSetType Enumeration|AnalyticalDataSetType]] enumeration, which specifies whether the data set is for use with Weibull++ or RGA.
|}
|}
</div>
== Syntax ==
''object''.'''ConnectToRepository(FileName As String)''' As Boolean
where ''object'' is a variable that represents a Repository object.


======================
Connects to a SQL repository that you specify. Returns a '''Boolean''' value; when true, indicates a successful connection to the repository.


== Syntax ==
<br>
''object''.'''ConnectToSQLRepository(''ServerName'', ''DatabaseName'', ''UseImpersonation'', ''ImpersonateDomain'', ''ImpersonateUsername'', ''ImpersonatePassword'')'''
<br>
 
<br>
where ''object'' is a variable that represents a Repository object.
<br>


===Properties===
===Properties===
{| {{APITable}}
{| border="" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; width:100; cellborder"
|- style="background:#f0f0f0;
! style="width: 30%;"|Name
! Description
|-
|-
|FileName||'''String'''. The complete path to the Synthesis Repository you will connect to.
style="width: 30%;"|FileName|'''String'''. The complete path to the Synthesis Repository you will connect to.
|-  
|-  
|FileName||'''String'''. The complete path to the Synthesis Repository you will connect to.  
|FileName||'''String'''. The complete path to the Synthesis Repository you will connect to.  
Line 69: Line 72:
====================
====================
===<span style="font-family:Verdana;font-size:18px;font-weight:bold;color:#2E64FE">Methods</span>===
===<span style="font-family:Verdana;font-size:18px;font-weight:bold;color:#2E64FE">Methods</span>===
{|border="1" align="left" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; width:100; cellborder"  
{|border="0" align="left" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; width:100; cellborder"  
|- style="background:#D8D8D8;"
|- style="background:#D8D8D8;"
! style="width: 15%;"|Name
! style="width: 15%;"|Name
Line 89: Line 92:




{{Font|Added in Synthesis API Version 9<nowiki> | </nowiki>Member of |8|Calibri|Bold|#6E6E6E}}{{Font|[[Full_Synthesis_API|SynthesisAPI]].[[Repository_Class|Repository]]|8|Courier New|Normal|#6E6E6E}}
{{Font|Added in Synthesis API Version 9|8|Arial|Bold|#6E6E6E}}<br/>
{{Font|Member of |8|Arial|Bold|#6E6E6E}}[[Full_Synthesis_API|<span style="font-family:'Courier New', Courier, monospace;font-size:8;font-weight:bold;">SynthesisAPI</span>]].[[Repository_Class|<span style="font-family:'Courier New', Courier, monospace;font-size:8;font-weight:bold;">Repository</span>]]
{{Font|Added in:|7|Arial|Bold|#6E6E6E}}{{Font|Synthesis API Version 9|8|Arial|Bold|#6E6E6E}}<br/>
{{Font|Member of: |7|Arial|Bold|#6E6E6E}}[[Full_Synthesis_API|<span style="font-family:monospace;font-size:8;font-weight:bold;">SynthesisAPI</span>]].[[Repository_Class|<span style="font-family:monospace;font-size:8;font-weight:bold;">Repository</span>]]
{{Font|Added:|7|Arial|Bold|#6E6E6E}}{{Font|Synthesis API Version 9|8|Arial|Bold|#6E6E6E}}<nowiki>|</nowiki>{{Font|Member of: |7|Arial|Bold|#6E6E6E}}[[Full_Synthesis_API|<span style="font-family:monospace;font-size:8;font-weight:bold;">SynthesisAPI</span>]].[[Repository_Class|<span style="font-family:monospace;font-size:8;font-weight:bold;">Repository</span>]]


==TEST PAGE==
==TEST PAGE==

Revision as of 23:44, 23 July 2015

Constructor

Methods

Properties

Name Description
RawDataSet Creates an instance of the RawDataSet class.
AddDataRow Adds a new RawData object, which represents a data point, to the SDW data collection.
Clear Clears all data points saved in the RawDataSet object.
ExtractedName String. The name of the SDW data collection.}}
ExtractedDate Date. The date when the data set was extracted.}}
ExtractedBy String. The name of the person who extracted the data set.}}
ExtractedType Gets or sets one of the constants of the AnalyticalDataSetType enumeration, which specifies whether the data set is for use with Weibull++ or RGA.






Properties

style="width: 30%;"|FileName|String. The complete path to the Synthesis Repository you will connect to.
Name Description
FileName String. The complete path to the Synthesis Repository you will connect to.

Methods

Name Description
FileName String. The complete path to the Synthesis Repository you will connect to. Example: C:\Users\USERNAME\Documents\ReliaSoft\Files\RSRepository1.rsr10.

Parameters

Name Description
ServerNameborder="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder"
Name Status String. The complete path to the Synthesis Repository you will connect to.


Example

This example assumes that a file called "RSRepository1.rsr10" exists in the C: drive.

VBA|VB.NET
Dim MyRepository As New Repository MyRepository.ConnectToRepository("C:\RSRepository1.rsr10")








========

Methods

Name Description
ConnectToRepository Boolean. Connects to a Synthesis repository (*.rsr9, *rsr10* or *.rserp) that you specify. When true, indicates a successful connection to that repository.
ConnectToAccessRepository Boolean. Connects to a standard Repository (*.rsr9, *rsr10*) that you specify. When true, indicates a successful connection to that repository. This method cannot be used to connect to an enterprise repository (*.rserp).
ConnectToSQLRepository Boolean. Connects to a SQL repository that you specify. When true, indicates a successful connection to that repository.





TEST PAGE

Private Function EscapeCharacter(char As String)
    ReplaceString char, "<nowiki>" & char & "</nowiki>"
End Function


VBA
'Connect to a repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")


VBA

'Connect to a Synthesis repository.
Dim Success As Boolean
Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")


VBA

asdfsdfssdf sdafasfsdaf asdfdsa asdfadsfdsa


column 1 column 2 column 3
1 4 7
2 5 8
3 6 9



The first possibility<ref name="Dog" /> is the probability of a successful trial, [math]\displaystyle{ (1-p) }[/math], where [math]\displaystyle{ p }[/math] is the probability of failure in trial [math]\displaystyle{ n-1 }[/math], while being in the unreliable state, [math]\displaystyle{ P_{n-1}(0) }[/math], before the [math]\displaystyle{ n-1 }[/math] trial, or:

[math]\displaystyle{ (1-p)P_{n-1}(0) }[/math]
[math]\displaystyle{ ax^2 + bx + c = 0 }[/math]


References

<ref name="Dog"> This is the dog reference.</ref>


Examples of expressions that are always rendered as PNG images

[math]\displaystyle{ x={-b\pm\sqrt{b^2-4ac} \over 2a} }[/math]

[math]\displaystyle{ 2 = \left( \frac{\left(3-x\right) \times 2}{3-x} \right) }[/math]


Use \textstyle markup to make it smaller: [math]\displaystyle{ \textstyle 2 = \left( \frac{\left(3-x\right) \times 2}{3-x} \right) }[/math]



Regular size formula:

The formula [math]\displaystyle{ \sum_{n=1}^\infty 1/n^2 = \pi^2/6 }[/math] is used for...

\textstyle markup:

The formula [math]\displaystyle{ \textstyle\sum_{n=1}^\infty 1/n^2 = \pi^2/6 }[/math] is used for...

Mix of HTML and TeX markup:

TPH = [math]\displaystyle{ \tau }[/math](DTO4 – DTR1)


All TeX markup:

[math]\displaystyle{ TPH = \tau(DTO_{4}-DTR_{1}) }[/math]