GetFolder
Description
Returns the Folder object that represents the folder specified by the pathName argument.
This method can be used to get the Public Queries or Personal Queries folders (using localized names).
Note: You must call SetSession
on the Workspace object before calling GetFolder, if you have not created
a Session object.
Syntax
VBScript
workspace.GetFolder
pathName
Perl
$workspace->GetFolder
(pathName);
- Identifier
- Description
- workspace
- The Workspace object obtained from the current session.
- pathName
- A String containing a path and name of the folder.
- Return value
- Returns the Folder object that represents the named folder. Returns NULL if any pathname component does not exist, is not readable, or does not name a folder.