Repository.ConnectToAccessRepository: Difference between revisions
Jump to navigation
Jump to search
Alex Ulanov (talk | contribs) No edit summary |
Alex Ulanov (talk | contribs) |
||
Line 16: | Line 16: | ||
{{APIComment|'Connect to the Synthesis repository.}} | {{APIComment|'Connect to the Synthesis repository.}} | ||
Dim Success As Boolean | Dim Success As Boolean | ||
Success = MyRepository.ConnectToAccessRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository. | Success = MyRepository.ConnectToAccessRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10") |
Revision as of 17:17, 20 May 2015
Connects to an MS Access repository.
Syntax
- ConnectToAccessRepository(ByVal FileName As String) As Boolean
Parameters
- FileName: The path to the Synthesis repository you will connect to.
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.ConnectToAccessRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")