ApplicationCopyProject Method

Copy a project

Definition

Namespace: HyperX.Scripting
Assembly: HyperX.Scripting (in HyperX.Scripting.dll) Version: 9.0.0.0 (9.0.0)
C#
public ProjectInfo CopyProject(
	int projectId,
	string newName = null,
	bool copyDesignProperties = true,
	bool copyAnalysisProperties = true,
	bool copyLoadProperties = true,
	bool copyWorkingFolder = true
)

Parameters

projectId  Int32
Id of the project to copy
newName  String  (Optional)
Name for the new project
copyDesignProperties  Boolean  (Optional)
Flag indicating whether design properties should be copied in the new project
copyAnalysisProperties  Boolean  (Optional)
Flag indicating whether analysis properties should be copied in the new project
copyLoadProperties  Boolean  (Optional)
Flag indicating whether load properties should be copied in the new project
copyWorkingFolder  Boolean  (Optional)
Flag indicating whether working folder should be copied

Return Value

ProjectInfo
The ProjectInfo for the copied project.

See Also