Repository.DisconnectFromRepository: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) |
Albert Szeto (talk | contribs) 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 == | |||
{{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.ConnectToRepository("RepositoryFileNamePath") | |||
{{APIComment| | {{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()