Repository.ConnectToAccessRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
{{APIName|ConnectToAccessRepository(}}
{{APIName|ConnectToAccessRepository(}}
{{APIPrefix|ByVal}}
{{APIPrefix|ByVal}}
{{APIName|FileName}}
{{APIName|'''FileName'''}}
{{APIPrefix|As String}}
{{APIPrefix|As String}}
{{APIName|)}}
{{APIName|)}}

Revision as of 22:44, 23 September 2013



Method Syntax

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")