IShortLinkServiceDeleteShortLinks Method (NullableGuid, NullableGuid, NullableGuid)

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 (24.3.0.1000)
Syntax
[ObsoleteAttribute("Use the overload which takes a tenant ID")]
int DeleteShortLinks(
	Guid? categoryId,
	Guid? fileSystemEntryId,
	Guid? accountId
)

Parameters

categoryId
Type: SystemNullableGuid
The category ID, or to ignore this property.
fileSystemEntryId
Type: SystemNullableGuid
The file system entry ID, or to ignore this property.
accountId
Type: SystemNullableGuid
The account ID, or 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 .

-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