IFileSystemServiceGetRecycleBinFolderId Method (NullableGuid, NullableGuid, Boolean)

Gets the recycle bin folder identifier for the given account.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
Guid? GetRecycleBinFolderId(
	Guid? accountId,
	Guid? tenantId,
	bool createIfNotExists
)

Parameters

accountId
Type: SystemNullableGuid
The ID of the account, or to use the account associated with the current caller context.
tenantId
Type: SystemNullableGuid
The ID of the tenant, or to use the tenant associated with the current caller context.
createIfNotExists
Type: SystemBoolean
Pass to create the recycle bin folder, if it does not exist, otherwise.

Return Value

Type: NullableGuid
The recycle bin folder identifier, or if createIfNotExists is set to , and folder does not exist".
Exceptions
ExceptionCondition
ArgumentExceptionaccountId is Empty.
NotFoundExceptionThe specified account or tenant was not found.
NoPrivilegeExceptionThe caller does not have access to manage the most recently used list for the specified account.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also