Repository.DisconnectFromRepository

From ReliaWiki
Revision as of 21:53, 13 November 2015 by Kate Racaza (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
APIWiki.png


Member of: SynthesisAPI.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