Repository.DisconnectFromRepository: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
== Example == | == Example == | ||
This example assumes that a standard repository called "RSRepository1.rsr10" exists in the C: drive. | 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''' | '''VBA|VB.NET''' | ||
Revision as of 17:41, 20 July 2015
Member of: SynthesisAPI9, 10.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