Back to API Home

Deletes a Account specified by its ID.

Namespace: Dundas.Dashboard.Administration
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public static void DeleteByIdAsync(
	Guid accountId,
	OnCompleted callback
)
Visual Basic
Public Shared Sub DeleteByIdAsync ( 
	accountId As Guid,
	callback As OnCompleted
)

Parameters

accountId
Type: System..::..Guid
The account's ID.
callback
Type: Dundas.Dashboard..::..OnCompleted
The callback that is invoked when the method completes.

Exceptions

ExceptionCondition
Dundas.Dashboard..::..ObjectNotFoundExceptionThe account does not exist.
Dundas.Dashboard..::..NoPrivilegeExceptionNo privilege for attempted operation.
Dundas.Dashboard..::..InvalidSessionExceptionYour session is no longer valid.

See Also