Skip to content

GetWorkspaceFileName - cWorkspace

Returns the name of the physical Workspace file for a Workspace name

Type: Function
Return Data Type: String

Parameters

Parameter Type Description
sWorkspace String Name of the Workspace to retrieve the file-name of

Syntax

Function GetWorkspaceFileName String sWorkspace Returns String

Call Example

Get GetWorkspaceFileName sWorkspace to StringVariable

Description

Obsolete

Use psWorkspaceWSFile instead of this method.

This function works with the global Workspace list (Workspaces.ini) file. As of DataFlex revision 12.0, this file, and associated functions, are no longer used. See Workspace Changes for details.

The GetWorkspaceFileName function returns the name of the physical Workspace file for a Workspace name. The sWorkspace parameter is the name of a Workspace that must be registered in the global Workspace list (Workspaces.ini).

Return Value

Returns the name of the physical Workspace file for a Workspace name