InventoryMode Enumeration |
Inventory directory mode.
Namespace: OpenDiscoverSDK.Interfaces.Platform.Inventory.LegacyAssembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.6.0 (2025.4.6)
Syntaxpublic enum InventoryMode
Members| Member name | Value | Description |
|---|
| DirectoriesAndDocuments | 1 |
Inventories the input directory and all of its sub-directories and all documents (files) contained in all directories.
File system metadata is returned for every directory and document (file).
|
| DirectoriesOnly | 2 |
Inventories the input directory and all of its sub-directories but gets only the total count and total size of documents (files)
contained under each directory and its sub-drectories. File system metadata is returned for every directory. For file systems with
potentially 10's of millions of documents it may not be possible to store all directory and document metadata in memory. This mode
is safest (memory wise) for first pass directory only info "peek" on potentially very large file server directory/files hierarchies.
DirectoriesAndDocuments or InputDirectoryDocumentsOnly can be made on folder subsets.
|
| InputDirectoryDocumentsOnly | 3 |
Inventories only the input directory argument for documents. No sub-directory information is returned and only the input directory
Documents is populated (no sub-directory documents). This mode can be used after mode DirectoriesOnly
to build processing sets for very large file server directory/file hierarchies.
|
| DirectoryLevelDocInfoOnly | 4 |
For each directory and sub-directory, this mode inventories only the count and size of documents contained immediately at that
directory level (no sub-directory contained document counts or sizes are included in the result for each directory). Documents is
NOT populated with document information in this mode.
|
See Also