Repository.ConnectToAccessRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:APIClass|Repository Class|Repository}}


== Property Syntax==
== Method Syntax ==
{{APIName|ConnectToAccessRepository(}}
{{APIName|ConnectToAccessRepository(}}
{{APIPrefix|ByVal}}
{{APIPrefix|ByVal}}

Revision as of 17:37, 18 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")