Repository.DisconnectFromRepository: 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}}
Disconnect from any connected repository
== Declaration  ==
{{APIName|DisconnectFromRepository()}}
{{APIComment|Disconnect from any connected repository}}
== Usage Example ==


== Declaration  ==
{{APIComment|Declare a new repository connection class.}}
        Private WithEvents MyRepository As New Repository


{{APIPrefix|Public Sub}}
{{APIComment|Connect to the Synthesis repository.}}
{{APIName|DisconnectFromRepository()}}
        Dim Success As Boolean = False
        Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")


{{APIComment|Disconnects from current repository.}}
{{APIComment|Disconnect the Synthesis repository.}}
        MyRepository.DisconnectFromRepository()

Revision as of 21:01, 17 September 2013


Disconnect from any connected repository

Declaration

DisconnectFromRepository()

Disconnect from any connected repository

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.ConnectToRepository("RepositoryFileNamePath")

Disconnect the Synthesis repository.

       MyRepository.DisconnectFromRepository()