CreateWorkspaceFolder

Description

Creates a new workspace folder and returns the new DBID.

Note: This method is for Windows only. This method became available in version 2002.05.00.

Syntax

VBScript


workspace.CreateWorkspaceFolder user_id, folder_type, new_name, 
parent_dbid 

Perl


$workspace->CreateWorkspaceFolder(user_id, folder_type, new_name, 
parent_dbid); 
Identifier
Description
workspace
The Workspace object obtained from the current session.
user_id
A Long. Set this to 0.
folder_type
A Long containing the folder type as enumerated by WorkspaceFolderType. The workspace folder types are:Public folder items (_WORKSPACE_PUBLIC_FOLDER = 1)Personal folder items (_WORKSPACE_USER_FOLDER = 2)
new_name
A String containing the name of new folder.
parent_dbid
A Long containing the parent folder dbid from which to create the new workspace folder (should never be 0).
Return value
Returns a Long containing the new DBID.