IFileSystemServicePromoteTransient 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 (24.4.0.1000)
Syntax void 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: SystemGuid
The ID of the transient entry to promote. - name
- Type: SystemString
The new name of the object. - parentId
- Type: SystemGuid
The ID of the folder where the entry should reside. - overwrite
- Type: SystemBoolean
A value indicating whether existing entries should be overwritten.
Exceptions Exception | Condition |
---|
ArgumentException | transientId is Empty. -or- parentId is Empty. -or- name is , 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 , 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