Repository.ConnectToAccessRepository: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Alex Ulanov (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|Repository Class|Repository}} | {{Template:APIClass|Repository Class|Repository}} | ||
{{Template:Repository.ConnectToAccessRepository | {{Template:Repository.ConnectToAccessRepository.Cmt}} | ||
== Syntax == | == Syntax == | ||
*ConnectToAccessRepository( FileName {{APIPrefix|As String}} ) {{APIPrefix|As Boolean}} | *ConnectToAccessRepository({{APIPrefix|ByVal}} FileName {{APIPrefix|As String}}) {{APIPrefix|As Boolean}} | ||
Parameters | Parameters | ||
:''FileName'': The | :''FileName'': The path to the Synthesis repository you will connect to. | ||
{{Template:BooleanReturn.Cmt}} | |||
== Usage Example == | == Usage Example == |
Revision as of 17:16, 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 = False Success = MyRepository.ConnectToAccessRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr9")