IAppResourceServiceDeleteBuiltInResource Method

Deletes the built-in resource.

Namespace:  Dundas.BI.AppResources
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
bool DeleteBuiltInResource(
	BuiltInResourceKind builtInResourceKind,
	Guid? tenantId
)

Parameters

builtInResourceKind
Type: Dundas.BI.AppResourcesBuiltInResourceKind
Kind of the built-in resource.
tenantId
Type: SystemNullableGuid
The tenant identifier.

Return Value

Type: Boolean
if resource is found and deleted, otherwise.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionbuiltInResourceKind is not one of the BuiltInResourceKind values.
ArgumentExceptiontenantId is Empty.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also