Repository.ConnectToOracleRepository: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}} | |||
Connects to an Oracle repository | <onlyinclude>Connects to an Oracle repository. Returns a '''Boolean''' value; when true, indicates a successful connection to the repository.</onlyinclude> | ||
< | |||
== Syntax == | == Syntax == | ||
'''.ConnectToOracleRepository'''(''Port'', ''Service'', ''Host'', ''Schema'', ''Password'') | '''.ConnectToOracleRepository'''(''Port'', ''Service'', ''Host'', ''Schema'', ''Password'') | ||
Line 9: | Line 9: | ||
===Parameters=== | ===Parameters=== | ||
''Port'' | ''Port'' | ||
:Integer. The server port for the Oracle repository. | :Required. Integer. The server port for the Oracle repository. | ||
''Service'' | ''Service'' | ||
:String. The repository service identifier. | :Required. String. The repository service identifier. | ||
''Host'' | ''Host'' | ||
:String. The repository host identifier. | :Required. String. The repository host identifier. | ||
''Schema'' | ''Schema'' | ||
:String. The repository schema. | :Required. String. The repository schema. | ||
''Password'' | ''Password'' | ||
:String. The repository password or the Windows login password used for access to the database. | :Required. String. The repository password or the Windows login password used for access to the database. | ||
Line 30: | Line 30: | ||
{{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"}}) | ||
Latest revision as of 21:54, 13 November 2015
Member of: SynthesisAPI.Repository
Connects to an Oracle repository. Returns a Boolean value; when true, indicates a successful connection to the repository.
Syntax
.ConnectToOracleRepository(Port, Service, Host, Schema, Password)
Parameters
Port
- Required. Integer. The server port for the Oracle repository.
Service
- Required. String. The repository service identifier.
Host
- Required. String. The repository host identifier.
Schema
- Required. String. The repository schema.
Password
- Required. String. The repository password or the Windows login password used for access to the database.
Example
VBA|VB.NET Dim MyRepository As New Repository MyRepository.ConnectToOracleRepository("OraclePort", "OracleService","OracleHost", "OracleSchema", "OraclePassword")