ZosJobFolders
The ZosJobFolders object is a collection of all job folders with the same parent folder. This object is obtained using the JobFolders property of ZosServer or the Subfolders property of the ZosJobFolder object.
ZosJobFolders Properties
ZosJobFolders exposes the following properties:
Property | Type | R/W | Description |
---|---|---|---|
[index] [name] | ZosJobFolder | R | Folder with specified name or index. |
Count | Int32 | R | Number of objects in collection. |
Path | String | R | File system path name for collection. |
...
ZosJobFolders Methods
ZosJobFolders exposes the following methods:
Add Method
Adds a new folder. Search argument is job name, prefix, or userid. Returns index at which object has been added.
Int32 Add(
String folderName,
ZosJobQueryType queryType,
String queryArg [optional]
)
Find Method
Searches for folder with specified name and returns reference to object. Returns null if name is not found.
ZosJobFolder Find( String name )
FindIndex Method
Searches for folder with specified name and returns zero-based index. Returns -1 if name is not found.
Int32 FindIndex( String name )
Refresh Method
Refreshes collection.
void Refresh()
Remove Method
Deletes a folder. Returns true if folder was removed or false if folder is not found.
Boolean Remove( String folderName )
...