Repository.ConnectToOracleRepository: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
Parameters | Parameters | ||
:''Port'': The server port for the Oracle | :''Port'': The server port for the Oracle repository. | ||
:''Service'': The | :''Service'': The repository service identifier. | ||
:''Host'': The | :''Host'': The repository host identifier. | ||
:''Schema'': The | :''Schema'': The repository schema. | ||
:''Password'': The | :''Password'': The repository password. (Your Windows login credentials are used for access to the database; use your Windows password.) | ||
== Usage Example == | == Usage Example == |
Revision as of 21:22, 27 May 2014
Connects to an Oracle repository. Returns True if successful, otherwise returns False.
Syntax
- ConnectToOracleRepository( Port As Integer, Service As String, Host As String, Schema As String, Password As String)As Boolean
Parameters
- Port: The server port for the Oracle repository.
- Service: The repository service identifier.
- Host: The repository host identifier.
- Schema: The repository schema.
- Password: The repository password. (Your Windows login credentials are used for access to the database; use your Windows password.)
Usage Example
'Declare a new repository connection class. Dim MyRepository As New Repository 'Connect to the Synthesis repository. Dim Success As Boolean = False Success = MyRepository.ConnectToOracleRepository("OraclePort", "OracleService", "OracleHost", "OracleSchema", "OraclePassword")