Repository.ConnectToOracleRepository

From ReliaWiki
Revision as of 23:16, 16 July 2015 by Kate Racaza (talk | contribs)
Jump to navigation Jump to search
APIWiki.png


Member of: SynthesisAPI9Repository

Connects to an Oracle repository that you specify. Returns a Boolean value; when true, indicates a successful connection to the repository.

Syntax

object.ConnectToOracleRepository(Port, Service, Host, Schema, Password)

where object is a variable that represents a Repository object.

Parameters

Name Description
Portborder="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder"
Name Status Integer. The server port for the Oracle repository.
Serviceborder="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder"
Name Status String. The repository service identifier.
Hostborder="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder"
Name Status String. The repository host identifier.
Schemaborder="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder"
Name Status String. The repository schema.
Passwordborder="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; cellborder"
Name Status String. The repository password. (Your Windows login credentials are used for access to the database; use your Windows password.)


Example

VBA|VB.NET
Dim MyRepository As New Repository MyRepository.ConnectToOracleRepository("OraclePort", "OracleService","OracleHost", "OracleSchema", "OraclePassword")