Open this page in the API Guide

IAppResourceService.DeleteBuiltInResource Method

Deletes the built-in resource.

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

Parameters

builtInResourceKind
Type: Dundas.BI.AppResources.BuiltInResourceKind
Kind of the built-in resource.
tenantId
Type: System.Nullable<Guid>
The tenant identifier.

Return Value

Type: Boolean
true if resource is found and deleted, false 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