Repository.DisconnectFromRepository: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIBreadcrumb|9|Repository}} | <noinclude>{{Template:API}}{{Template:APIBreadcrumb|9|Repository}}</noinclude> | ||
Disconnects from the current repository. | Disconnects from the current repository. | ||
<noinclude> | |||
== Syntax == | == Syntax == | ||
''object''.'''DisconnectFromRepository''' | ''object''.'''DisconnectFromRepository''' | ||
where ''object'' is a variable that represents a Repository object. | where ''object'' is a variable that represents a Repository object. | ||
== Example == | == Example == | ||
Line 17: | Line 17: | ||
{{APIComment|'Disconnect from the Synthesis repository.}} | {{APIComment|'Disconnect from the Synthesis repository.}} | ||
MyRepository.DisconnectFromRepository | MyRepository.DisconnectFromRepository | ||
</noinclude> |
Revision as of 23:17, 16 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