IFileSystemService.PromoteTransient Method |
Promotes a transient entry to a real one.
Namespace:
Dundas.BI.FileSystem
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntaxvoid PromoteTransient(
Guid transientId,
string name,
Guid parentId,
bool overwrite
)
Sub PromoteTransient (
transientId As Guid,
name As String,
parentId As Guid,
overwrite As Boolean
)
void PromoteTransient(
Guid transientId,
String^ name,
Guid parentId,
bool overwrite
)
abstract PromoteTransient :
transientId : Guid *
name : string *
parentId : Guid *
overwrite : bool -> unit
Parameters
- transientId
- Type: System.Guid
The ID of the transient entry to promote. - name
- Type: System.String
The new name of the object. - parentId
- Type: System.Guid
The ID of the folder where the entry should reside. - overwrite
- Type: System.Boolean
A value indicating whether existing entries should be overwritten.
ExceptionsException | Condition |
---|
ArgumentException | transientId is Empty. -or- parentId is Empty. -or- name is null, empty, only consists of whitespace, or contains invalid characters. |
NotFoundException | At least one of transientId and parentId
represents an entry which does not exist. |
DuplicateItemException | An entry with the specified name already exists in the specified parent. |
NoPrivilegeException |
One of the following is true:
- The caller does not have Read permission on the specified transient entry.
- The caller does not have permission to create items in the specified parent entry.
- The caller's seat kind is not PowerUser or better.
- overwrite is true, an entry with the same name as name already
exists in the specified parent, and the caller does not have the Delete privilege on the entry which needs to
be overwritten.
|
InvalidSessionException | The caller context is not associated with a valid session. |
See Also