Repository.DisconnectFromRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template:API}}{{Template:APIBreadcrumb|9, 10|.[[Repository Class|Repository]]}}</noinclude>
{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}}




Disconnects from the current repository.
<onlyinclude>Disconnects from the current repository.</onlyinclude>
<noinclude>
 
== Syntax ==
== Syntax ==
  '''.DisconnectFromRepository'''
  '''.DisconnectFromRepository'''
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'''
   
   
Line 18: Line 18:
  {{APIComment|'Disconnect from the Synthesis repository.}}  
  {{APIComment|'Disconnect from the Synthesis repository.}}  
   MyRepository.DisconnectFromRepository
   MyRepository.DisconnectFromRepository
</noinclude>

Latest revision as of 21:53, 13 November 2015

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