FME Server .NET API

IFMERepository.GetWorkspace Method 

Gets the specified workspace view.

[Visual Basic]
Function GetWorkspace( _
   ByVal workspaceName As String _
) As Safe.FMEServer.API.IFMEWorkspace
[C#]
IFMEWorkspace GetWorkspace(
   string workspaceName
);

Parameters

workspaceName
the unique name of the workspace item. For example, "foo.fmw"

Return Value

the specified workspace view. If no workspace view found for specified workspace name, then null is returned.

Exceptions

Exception TypeCondition
Safe.FMEServer.API.FMEServerExceptionif a FME Server exception occurred

See Also

IFMERepository Interface | IFMERepository Members | Safe.FMEServer.API Namespace