IShortLinkServiceDeleteShortLinks(NullableGuid, NullableGuid, NullableGuid) Method

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

Parameters

categoryId  NullableGuid
The category ID, or to ignore this property.
fileSystemEntryId  NullableGuid
The file system entry ID, or to ignore this property.
accountId  NullableGuid
The account ID, or to ignore this property.

Return Value

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