Repository.ConnectToOracleRepository: Difference between revisions
Jump to navigation
Jump to search
Alex Ulanov (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template: | {{Template:APIBreadcrumb|9|Repository}} | ||
{{Template: | {{Template:API}} | ||
Connects to an Oracle repository that you specify. Returns a '''Boolean''' value; when true, indicates a successful connection to the repository. | |||
== Syntax == | == Syntax == | ||
''object''.'''ConnectToOracleRepository(''Port'', ''Service'', ''Host'', ''Schema'', ''Password'')''' | |||
where ''object'' is a variable that represents a Repository object. | |||
===Parameters=== | |||
{| {{APITable}} | |||
|- | |||
|Port{{APIParam|Required}}||'''Integer'''. The server port for the Oracle repository. | |||
|- | |||
|Service{{APIParam|Required}}||'''String'''. The repository service identifier. | |||
|- | |||
|Host{{APIParam|Required}}||'''String'''. The repository host identifier. | |||
|- | |||
|Schema{{APIParam|Required}}||'''String'''. The repository schema. | |||
|- | |||
|Password{{APIParam|Required}}||'''String'''. The repository password. (Your Windows login credentials are used for access to the database; use your Windows password.) | |||
|} | |||
==Example== | |||
'''VBA|VB.NET'''<br> | |||
{{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository | |||
MyRepository.ConnectToOracleRepository({{APIString|"OraclePort"}}, {{APIString|"OracleService"}},{{APIString|"OracleHost"}}, {{APIString|"OracleSchema"}}, {{APIString|"OraclePassword"}}) | |||
{{ | |||
Revision as of 16:52, 13 July 2015
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")