Repository.DisconnectFromRepository: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| Kate Racaza (talk | contribs) No edit summary | Kate Racaza (talk | contribs) mNo edit summary | ||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| {{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}} | |||
| <onlyinclude>Disconnects from the current repository.</onlyinclude> | |||
| == Syntax == | == Syntax == | ||
| ' |  '''.DisconnectFromRepository''' | ||
| == Example == | == Example == | ||
| This example assumes that a  | 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''' | ||
|   {{APIComment|'Connect to a standard Synthesis repository.}}   |   {{APIComment|'Connect to a standard Synthesis repository.}}   | ||
|    {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository |    {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository | ||
| Line 17: | Line 18: | ||
|   {{APIComment|'Disconnect from the Synthesis repository.}}   |   {{APIComment|'Disconnect from the Synthesis repository.}}   | ||
|    MyRepository.DisconnectFromRepository |    MyRepository.DisconnectFromRepository | ||
Latest revision as of 21:53, 13 November 2015
|  | 
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