Repository.ConnectToOracleRepository
Jump to navigation
Jump to search
Connects to an Oracle repository.
Syntax
- ConnectToOracleRepository(ByVal Port As Integer, ByVal Service As String, ByVal Host As String, ByVal Schema As String, ByVal 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.)
Returns True if successful, otherwise returns False.
Usage Example
'Declare a new repository connection object. Dim MyRepository As New Repository 'Connect to the Synthesis repository. Dim Success As Boolean Success = MyRepository.ConnectToOracleRepository("OraclePort", "OracleService", "OracleHost", "OracleSchema", "OraclePassword")