Repository.ConnectToOracleRepository: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{Template:API}}{{Template:APIBreadcrumb|9|[[Repository Class|Repository]]}}</noinclude> | <noinclude>{{Template:API}}{{Template:APIBreadcrumb|9, 10|.[[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. | ||
<noinclude> | <noinclude> | ||
== Syntax == | == Syntax == | ||
' | '''.ConnectToOracleRepository'''(''Port'', ''Service'', ''Host'', ''Schema'', ''Password'') | ||
===Parameters=== | |||
''Port'' | |||
:Integer. The server port for the Oracle repository. (Required) | |||
''Service'' | |||
:String. The repository service identifier. (Required) | |||
''Host'' | |||
:String. The repository host identifier. (Required) | |||
''Schema'' | |||
:String. The repository schema. (Required) | |||
''Password'' | |||
:String. The repository password or the Windows login password used for access to the database. (Required) | |||
==Example== | ==Example== | ||
'''VBA|VB.NET''' | '''VBA|VB.NET''' | ||
{{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> | </noinclude> |
Revision as of 17:29, 20 July 2015
Member of: SynthesisAPI9, 10.Repository
Connects to an Oracle repository that you specify. Returns a Boolean value; when true, indicates a successful connection to the repository.
Syntax
.ConnectToOracleRepository(Port, Service, Host, Schema, Password)
Parameters
Port
- Integer. The server port for the Oracle repository. (Required)
Service
- String. The repository service identifier. (Required)
Host
- String. The repository host identifier. (Required)
Schema
- String. The repository schema. (Required)
Password
- String. The repository password or the Windows login password used for access to the database. (Required)
Example
VBA|VB.NET Dim MyRepository As New Repository MyRepository.ConnectToOracleRepository("OraclePort", "OracleService","OracleHost", "OracleSchema", "OraclePassword")