User:Kate Racaza/test page: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
|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.  
|}
|}
===Methods===
{|{{APITable}}
|-
|FileName||'''String'''. The complete path to the Synthesis Repository you will connect to. Example: ''C:\Users\USERNAME\Documents\ReliaSoft\Files\RSRepository1.rsr10''.
|}
=== Parameters ===
{| {{APITable}}
|-
|ServerName{{APIParam|Required}}||'''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'''<br>
Dim MyRepository As New Repository
MyRepository.ConnectToRepository("C:\RSRepository1.rsr10")
<br/>
<br/>
<br/>


<br/>
<br/>
Line 41: Line 16:


====================
====================
===<span style="font-family:Verdana;font-size:18px;font-weight:bold;color:#2E64FE">Methods</span>===
{|border="0" align="left" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; width:100; cellborder"
|- style="background:#D8D8D8;"
! style="width: 15%;"|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.
|}
<br/>
<br/>
<br/>
<br/>
Line 67: Line 26:




 
  '''VBA'''
<pre>
Private Function EscapeCharacter(char As String)
    ReplaceString char, "<nowiki><nowiki></nowiki>" & char & "<nowiki></nowiki></nowiki>"
End Function
</pre>
 
 
  '''VBA'''<br/>
  'Connect to a repository  
  'Connect to a repository  
  Dim Success As Boolean = False
  Dim Success As Boolean = False
  Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")
  Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")}}
 


<div style="width: 98%; border:1px solid #819FF7; padding: 0px 10px 10px 10px;text-align: left; border-radius:10px">
<div style="width: 98%; border:1px solid #819FF7; padding: 0px 10px 10px 10px;text-align: left; border-radius:10px">

Revision as of 18:42, 24 July 2015

Properties

Name Description
FileName String. The complete path to the Synthesis Repository you will connect to.dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
FileName String. The complete path to the Synthesis Repository you will connect to.




========





TEST PAGE

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]