Repository.ConnectToAccessRepository: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) |
Albert Szeto (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Property Syntax== | == Property Syntax== | ||
{{ | {{APIPrefix|Public Function}} | ||
{{APIName|ConnectToAccessRepository(}} | |||
{{APIPrefix|ByVal}} | |||
{{APIName|FileName}} | |||
{{APIPrefix|As String}} | |||
{{APIName|)}} | |||
{{APIPrefix|As Boolean}}<br> | |||
{{APIComment|Connects to an MS Access repository.}} | |||
== Parameters == | |||
'''FileName''' | |||
The file path for the Synthesis Repository to connect. | |||
== Usage Example == | |||
{{APIComment|Declare a new repository connection class.}} | |||
Private WithEvents MyRepository As New Repository | |||
{{APIComment|Connect to the Synthesis repository.}} | |||
Dim Success As Boolean = False | |||
Success = MyRepository.ConnectToAccessRepository("AccessRepositoryFilePath") |
Revision as of 21:09, 17 September 2013
Property Syntax
Public Function
ConnectToAccessRepository(
ByVal
FileName
As String
)
As Boolean
Connects to an MS Access repository.
Parameters
FileName The file path for the Synthesis Repository to connect.
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.ConnectToAccessRepository("AccessRepositoryFilePath")