Repository.DisconnectFromRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
Disconnect from any connected repository
Disconnect from any connected repository
== Method Syntax ==
== Method Syntax ==
{{APIName|DisconnectFromRepository()}}
{{APIName|'''DisconnectFromRepository'''()}}


{{APIComment|Disconnect from any connected repository}}
{{APIComment|Disconnect from any connected repository}}

Revision as of 22:45, 23 September 2013


Disconnect from any connected repository

Method Syntax

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