Repository.ConnectToOracleRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIBreadcrumb|9|Repository}}
<noinclude>{{Template:API}}{{Template:APIBreadcrumb|9|Repository}}</noinclude>
{{Template:API}}
 
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.  
 
<noinclude>
== Syntax ==
== Syntax ==
''object''.'''ConnectToOracleRepository(''Port'', ''Service'', ''Host'', ''Schema'', ''Password'')'''
''object''.'''ConnectToOracleRepository(''Port'', ''Service'', ''Host'', ''Schema'', ''Password'')'''
Line 28: Line 28:
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  MyRepository.ConnectToOracleRepository({{APIString|"OraclePort"}}, {{APIString|"OracleService"}},{{APIString|"OracleHost"}}, {{APIString|"OracleSchema"}}, {{APIString|"OraclePassword"}})
  MyRepository.ConnectToOracleRepository({{APIString|"OraclePort"}}, {{APIString|"OracleService"}},{{APIString|"OracleHost"}}, {{APIString|"OracleSchema"}}, {{APIString|"OraclePassword"}})
</noinclude>

Revision as of 23:16, 16 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")