Repository.DisconnectFromRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "Repository.DisconnectFromRepository" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:APIClass|Repository Class|Repository}}
Disconnect from any connected repository
{{Template:Repository.DisconnectFromRepository.Cmt}}
== Method Syntax ==
{{APIName|'''DisconnectFromRepository'''()}}


{{APIComment|Disconnect from any connected repository}}
== Syntax ==
*DisconnectFromRepository()


== Usage Example ==
== Usage Example ==

Revision as of 17:10, 27 February 2014


Disconnects from the current repository.

Syntax

  • DisconnectFromRepository()

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