Repository.DisconnectFromRepository: Difference between revisions

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


Disconnects from the current repository.
Disconnects from the current repository.
<noinclude>
<noinclude>
== Syntax ==
== Syntax ==
''object''.'''DisconnectFromRepository'''
'''.DisconnectFromRepository'''


where ''object'' is a variable that represents a Repository object.


== Example ==
== Example ==
This example assumes that a file called "RSRepository1.rsr10" exists in the C: drive.  
This example assumes that a standard repository called "RSRepository1.rsr10" exists in the C: drive.  
  '''VBA|VB.NET'''<br>
  '''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

Revision as of 17:31, 20 July 2015

APIWiki.png


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.

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