Specifies the primary location for saving and loading Process Analyst views.
If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.
The primary and secondary path properties together provide a file redundancy option for large systems that need to store Process Analyst Views in a shared location. Whenever a load operation occurs from either of these locations, the loaded file will be synchronized with each location, such that the latest version of the file appears in both locations.
IProcessAnalyst.SecondaryPath [Property][Get/Set], IProcessAnalyst.LoadFromFile [Method], IProcessAnalyst.SaveToFile [Method]
Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".
Dim path As String
`Retrieve the path
path = myPage_AN35.PrimaryPath
`Set the path
myPage_AN35.PrimaryPath = "\\computer1\PA Views"
OBJECT hProcessAnalyst = ObjectByName("AN35");
// Retrieve the path
path = _ObjectGetProperty(hProcessAnalyst, "PrimaryPath");
// Set the path
_ObjectSetProperty(hProcessAnalyst, "PrimaryPath", "\\computer1\PA Views");