Repository.ConnectToOracleRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{Template:API}}{{Template:APIBreadcrumb|9|Repository}}</noinclude>
<noinclude>{{Template:API}}{{Template:APIBreadcrumb|9|[[Repository Class|Repository]]}}</noinclude>


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

Revision as of 17:26, 17 July 2015

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")