Engine.OpenWorkspaceFile ( workspaceFilePath, options = OpenWorkspaceFile_NoOptions, handlerType = ConflictHandler_Error)
Returns the WorkspaceFile object for the workspace file specified by the workspaceFilePath parameter.
Reads the workspace file from disk. The path must be an absolute path. If the path is not absolute, an exception is raised when trying to read the workspace file. Release your reference to this object when you finish using it.
workspaceFilePath As String
[In] Specifies the absolute pathname of the workspace file.
options As long
[In] Pass 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.