Repository.DisconnectFromRepository: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:APIBreadcrumb|9|Repository}}
{{Template:Repository.DisconnectFromRepository.Cmt}}
{{Template:API}}
Disconnects from the current repository.
== Syntax ==
''object''.'''DisconnectFromRepository'''
 
where ''object'' is a variable that represents a Repository object.


== Syntax ==
*DisconnectFromRepository()


== Usage Example ==
== Example ==
{{Template:RepositoryFull.Ex}}
This example assumes that a file called "RSRepository1.rsr10" exists in the C: drive.
'''VBA|VB.NET'''<br>
{{APIComment|'Connect to a standard Synthesis repository.}}
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  MyRepository.ConnectToRepository({{APIString|"C:\RSRepository1.rsr10"}})<br>
{{APIComment|...}} <br>
{{APIComment|'Disconnect from the Synthesis repository.}}
  MyRepository.DisconnectFromRepository

Revision as of 17:19, 13 July 2015

Member of: SynthesisAPI9Repository

APIWiki.png


Disconnects from the current repository.

Syntax

object.DisconnectFromRepository

where object is a variable that represents a Repository object.


Example

This example assumes that a file 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