IFileSystemServiceCreateFolder Method

Creates a folder in the application's file system.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
Guid CreateFolder(
	string name,
	Guid parentId,
	EntryCreationOptions? options
)

Parameters

name
Type: SystemString
The name of the folder to create.
parentId
Type: SystemGuid
The ID of the entry under which the new folder should be created.
options
Type: Dundas.BI.FileSystemEntryCreationOptions
Options for creating the folder; or to use the default options.

Return Value

Type: Guid
The ID of the newly created folder.
Exceptions
ExceptionCondition
ArgumentException

name is , empty, only consists of whitespace, or contains invalid characters.

-or-

parentId is Empty.

ArgumentOutOfRangeExceptionname is longer than MaxNameLength.
DuplicateItemExceptionAn entry with the specified name already exists in the parent entry.
NotFoundExceptionThe entry specified by parentId does not exist.
NoPrivilegeExceptionThe caller does not have permission to create the folder.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also