Repository.DisconnectFromRepository: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Kate Racaza (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template: | {{Template:APIBreadcrumb|9|Repository}} | ||
{{Template: | {{Template:API}} | ||
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'''<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
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