ConnectionString
Creates/opens a Repository to read from and write to at a custom location. Set ConnectionString to a string containing a full path and file name. When ConnectionString is not set, or is set to an empty string, the default Repository is used (see Where to find the Data Repository). Reading ConnectionString returns the path of the current Data Repository file.
Note that an instance of the Repository is not kept between scripts and tasks.
Examples
JavaScript var repoObject = new ActiveXObject("RepositoryLib.WorkflowRepository"); repoObject.ConnectionString = "C:\\Users\\Administrator\\Desktop\\repoObject.Repository";
(In JavaScript, backslashes have to be escaped.)
VB Script set repoObject = CreateObject("RepositoryLib.WorkflowRepository") repoObject.ConnectionString = "C:\Users\Administrator\Desktop\repoObject.Repository"
|
|