Open this page in the API Guide

IShortLinkService.DeleteShortLinks Method (Nullable<Guid>, Nullable<Guid>, Nullable<Guid>)

Note: This API is now obsolete.

Deletes short links matching the specified criteria.

Namespace:  Dundas.BI.Services
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
[ObsoleteAttribute("Use the overload which takes a tenant ID")]
int DeleteShortLinks(
	Guid? categoryId,
	Guid? fileSystemEntryId,
	Guid? accountId
)

Parameters

categoryId
Type: System.Nullable<Guid>
The category ID, or null to ignore this property.
fileSystemEntryId
Type: System.Nullable<Guid>
The file system entry ID, or null to ignore this property.
accountId
Type: System.Nullable<Guid>
The account ID, or null to ignore this property.

Return Value

Type: Int32
The number of short links which were deleted.
Exceptions
ExceptionCondition
InvalidOperationExceptionAn account ID is specified and it belongs to multiple tenants.
ArgumentException

All of the provided parameters are null.

-or-

Any of the provided IDs are Empty.

NoPrivilegeException

The caller does not have system administration privileges.

-or-

There is a specified account ID, but it does not correspond to the caller's account and the account cannot be administered by the caller.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also