Description
Returns
the Folder object that represents the Public Queries folder
Remarque : You must call SetSession on the Workspace object before calling
GetPublicFolder, if you have not created a Session object.
Syntaxe
VBScript
workspace.GetPublicFolder
Perl
$workspace->GetPublicFolder();
- Identificateur
- Description
- workspace
- The Workspace object obtained from the current session.
- Return value
- Returns the Folder object that represents the Public Folder.
Exemple
Perl
my $ws;
eval { $ws = $session->GetWorkSpace(); };
die "unable to get workspace: $@\n" if $@;
my $pub;
eval { $pub = $ws->GetPublicFolder(); };
die "unable to get Public Queries folder: $@\n" if $@;