User:Kate Racaza/test page

Connects to a Synthesis repository (*.rsr9, *rsr10* or *.rserp) that you specify. If the file extension is not specified, it assumes that the file type is a standard database. Returns a Boolean value; when true, indicates a successful connection to that repository.

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
object.ConnectToSQLRepository(ServerName, DatabaseName, UseImpersonation, ImpersonateDomain, ImpersonateUsername, ImpersonatePassword)

where object is a variable that represents a Repository object.

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
Added in Synthesis API Version 9SynthesisAPI.Repository

Added in Synthesis API Version 9 Member ofSynthesisAPI .Repository

Added in:Synthesis API Version 9 Member of: SynthesisAPI . Repository

Added:Synthesis API Version 9 | Member of: SynthesisAPI . Repository

TEST PAGE
Private Function EscapeCharacter(char As String) ReplaceString char, "  " & char & "   " End Function

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

 VBA

Dim Success Boolean Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")

 VBA

asdfsdfssdf sdafasfsdaf asdfdsa asdfadsfdsa

The first possibility is the probability of a successful trial, $$(1-p)$$, where $$p$$ is the probability of failure in trial $$n-1$$, while being in the unreliable state, $$P_{n-1}(0)$$, before the $$n-1$$ trial, or:


 * $$(1-p)P_{n-1}(0)$$


 * $$ax^2 + bx + c = 0$$