User Guide

256 Chapter 14 Scripting the Visual Tools Object Model
GetLastErrorMessage
Syntax GetLastErrorMessage(): WideString;
Description Tests the result of an UploadFile call by returning last associated RDS error message.
IsFolderDeployable
Syntax IsFolderDeployable(const wsFolderName:WideString): WordBool;
Description Boolean. Returns the deployment status of the passed folder name. Use this method
to skip folders that are designated as Do Not Deploy folders.
OpenProject
Syntax OpenProject(const wsProjectName: WideString);
Description Opens the project specified in the passed OleString. The project specification must
be a fully qualified path to the existing project file.
PathExists
Syntax PathExists(const wsFolderName: WideString): WordBool;
Description Boolean. Checks to see if a path exists.
SetDeployState
Syntax SetDeployState(sServerName:WideString,bServerStatus: WordBool);
Description Boolean. Enables and disables the deployment server specified by sServerName
during deployment. This allows some servers to be turned on or off during the
deployment process.
SetLogFileName
Syntax SetLogFileName(sLogFileName: String);
Description Changes the name of a generated deployment log file. The default name is
Deployment.log and its default location is the Visual Tools’ main installation
directory. Specify a fully qualified path and file name.
SetLogging
Syntax SetLogging(bDoLogging: WordBool);
Description Boolean. Turns logging on and off. This method only has an effect prior to opening a
project for deployment.