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 (8.0.2.1001)
SyntaxGuid CreateFolder(
string name,
Guid parentId,
EntryCreationOptions options
)
Function CreateFolder (
name As String,
parentId As Guid,
options As EntryCreationOptions
) As Guid
Guid CreateFolder(
String^ name,
Guid parentId,
EntryCreationOptions^ options
)
abstract CreateFolder :
name : string *
parentId : Guid *
options : EntryCreationOptions -> Guid
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:
GuidThe ID of the newly created folder.
Exceptions| Exception | Condition |
|---|
| ArgumentException | name is , empty, only consists of whitespace, or contains invalid characters. -or- parentId is Empty. |
| ArgumentOutOfRangeException | name is longer than MaxNameLength. |
| DuplicateItemException | An entry with the specified name already exists in the parent entry. |
| NotFoundException | The entry specified by parentId does not exist. |
| NoPrivilegeException | The caller does not have permission to create the folder. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also