Repository.ConnectToOracleRepository: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
== Property Syntax== | == Property Syntax== | ||
{{APIName|ConnectToOracleRepository(}} | {{APIName|ConnectToOracleRepository(}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} |
Revision as of 17:27, 18 September 2013
Property Syntax
ConnectToOracleRepository(
ByVal
Port
As Integer
,
ByVal
Service
As String
,
ByVal
Host
As String
,
ByVal
Schema
As String
,
ByVal
Password
As String
)
As Boolean
Connects to an Oracle repository.
Parameters
Port The server port for the Oracle Repository.
Service The Oracle Database name for the Synthesis Repository to connect.
Host The Oracle Host name.
Schema The Oracle Schema.
Password The Password for the database.
Usage Example
Declare a new repository connection class.
Private WithEvents MyRepository As New Repository
Connect to the Synthesis repository.
Dim Success As Boolean = False Success = MyRepository.ConnectToOracleRepository("OraclePort", "OracleService", "OracleHost", "OracleSchema", "OraclePassword")