Engine.OpenWorkspaceFile

Syntax

Engine.OpenWorkspaceFile( workspaceFilePath, options = OpenWorkspaceFile_NoOptions, handlerType = ConflictHandler_Error)

Return Value

WorkspaceFile

Purpose

Returns the WorkspaceFile object for the workspace file the workspaceFilePath parameter specifies.

Remarks

Reads the workspace file from disk. The path must be an absolute path. If the path is not absolute, TestStand raises an exception when trying to read the workspace file.

Parameters

workspaceFilePath As String

[In] Specifies the absolute pathname of the workspace file.

options As Long

[In] Specify one or more OpenWorkspaceFileOptions constants. Use the bitwise-OR operator to specify more than one option.

This parameter has a default value of OpenWorkspaceFile_NoOptions .

handlerType As TypeConflictHandlerTypes

[In] Specifies how to handle type conflicts.

This parameter has a default value of ConflictHandler_Error .

See Also

Engine.CurrentWorkspaceFile

Engine.NewWorkspaceFile

OpenWorkspaceFileOptions

TypeConflictHandlerTypes

WorkspaceFile