Repository.ConnectToAccessRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


== Property Syntax==
== Property Syntax==
{{APIPrefix|Public Function}}
{{APIName|ConnectToAccessRepository(}}
{{APIName|ConnectToAccessRepository(}}
{{APIPrefix|ByVal}}
{{APIPrefix|ByVal}}

Revision as of 17:26, 18 September 2013



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