Repository.ConnectToAccessRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
== Property Syntax==
== Property Syntax==


{{Template:ConnectToAccessRepository}}
{{APIPrefix|Public Function}}
{{APIName|ConnectToAccessRepository(}}
{{APIPrefix|ByVal}}
{{APIName|FileName}}
{{APIPrefix|As String}}
{{APIName|)}}
{{APIPrefix|As Boolean}}<br>
{{APIComment|Connects to an MS Access repository.}}
 
== Parameters ==
'''FileName'''
The file path for the Synthesis Repository to connect.
 
== Usage Example ==
 
{{APIComment|Declare a new repository connection class.}}
        Private WithEvents MyRepository As New Repository
 
{{APIComment|Connect to the Synthesis repository.}}
        Dim Success As Boolean = False
        Success = MyRepository.ConnectToAccessRepository("AccessRepositoryFilePath")

Revision as of 21:09, 17 September 2013



Property Syntax

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