Multiple Object Repo

If there are three shared obj repo(t1,t2,t3) and all three contain obj "A" with same property ... The script is using all the shared obj repo. Then how do we ask the script to select "A" from third obj repo(t3)

Questions by gokuldot

Showing Answers 1 - 1 of 1 Answers

The following code snippet clears your doubt
 
To use "object A" in third shared object repository, we use Add method. To add the object of third shared object repository.

RepPath = "\MercurySORSMySharedObjectRepository3.tsr" (path of saved shared repository)
RepositoriesCollection.Add(RepPath)


to remove all repositories -> RepositoriesCollection.RemoveAll()

To find the previous added repository in specified path and remove, we use following
Pos = RepositoriesCollection.Find(RepPath)
RepositoriesCollection.Remove(Pos)

Correct me if am wrong???

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions