TaskFolder.CreateFolder method
For scripting, creates a folder for related tasks.
Syntax
ppFolder = .CreateFolder( _
ByVal folderName, _
ByVal sddl _
)
Parameters
-
folderName [in]
-
The name that is used to identify the folder. If "FolderName\SubFolder1\SubFolder2" is specified, the entire folder tree will be created if the folders do not exist. This parameter can be a relative path to the current TaskFolder instance. The root task folder is specified with a backslash (\). An example of a task folder path, under the root task folder, is \MyTaskFolder. The '.' character cannot be used to specify the current task folder and the '..' characters cannot be used to specify the parent task folder in the path.
-
sddl [in]
-
The security descriptor that is associated with the folder.
Return value
A TaskFolder object that represents the new subfolder.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|