Repository.DisconnectFromRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:API}}{{Template:APIBreadcrumb|9, 10|.[[Repository Class|Repository]]}}
{{Template:API}}{{Template:APIBreadcrumb|9|.[[Repository Class|Repository]]}}





Revision as of 15:35, 23 July 2015

APIWiki.png


Member of: SynthesisAPI9.Repository


Disconnects from the current repository.

Syntax

.DisconnectFromRepository


Example

This example assumes that a standard repository called "RSRepository1.rsr10" exists in the C: drive. The code connects to the repository and then later disconnects from it.

VBA|VB.NET

 'Connect to a standard Synthesis repository.  
 Dim MyRepository As New Repository
 MyRepository.ConnectToRepository("C:\RSRepository1.rsr10")
...
'Disconnect from the Synthesis repository. MyRepository.DisconnectFromRepository