Delete an Asset.

Namespace: Cartella.Interfaces
Assembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
void DeleteAsset(
	ref IAsset assetToDelete
)
Visual Basic
Sub DeleteAsset ( _
	ByRef assetToDelete As IAsset _
)
Visual C++
void DeleteAsset(
	IAsset^% assetToDelete
)

Parameters

assetToDelete
Type: Cartella.Interfaces..::..IAsset%
Asset to be deleted. Cannot be null

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown when null parameter passed in
System..::..ArgumentExceptionThrown if current Asset object doesn't have AssetManager reference
System..::..MemberAccessExceptionThrown if database procedure not present

See Also