A Sandcastle Documented Class Library

# IShortLinkService DeleteShortLinks Method

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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    int DeleteShortLinks(
    	Guid? categoryId,
    	Guid? fileSystemEntryId,
    	Guid? accountId
    )

    Function DeleteShortLinks (
    	categoryId As Guid?,
    	fileSystemEntryId As Guid?,
    	accountId As Guid?
    ) As Integer

    int DeleteShortLinks(
    	Nullable<Guid> categoryId,
    	Nullable<Guid> fileSystemEntryId,
    	Nullable<Guid> accountId
    )

    abstract DeleteShortLinks :
            categoryId : Nullable<Guid> *
            fileSystemEntryId : Nullable<Guid> *
            accountId : Nullable<Guid> -> int

#### Parameters

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

#### Return Value

Type: Int32
The number of short links which were deleted.
Exceptions

Exception | Condition
--- | ---
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.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IShortLinkService Interface
Dundas.BI.Services Namespace