Associates the specified Session object with the Workspace object.
If you create a Workspace object without first having a Session object, you must call this method before attempting to access any of the queries, charts, or reports in the workspace.
VBScript
workspace.SetSession sessionObj
Perl
$workspace->SetSession(sessionObj);
A reference to the Session object created previously
(as in, set sessionObj = CreateObject("CLEARQUEST.SESSION")
for Visual Basic).