You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Task Namespace > Classes > Task Class > Task Methods > DeleteTasks Method > DeleteTasks
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Task.DeleteTasks Method (Long, Boolean)

Mark tasks deleted or delete tasks permanently.

C#
public Boolean DeleteTasks(Long taskId, Boolean Permanently);
Visual Basic
Public Function DeleteTasks(ByVal taskId() As Long, ByVal Permanently As Boolean) As Boolean
Parameters 
Description 
taskId 
Array of Task ID. 
Permanently 
True=Delete tasks. 

Returns False if successfully deleted, otherwise returns True.

When an error occurs the method will quit without deleting rest of the tasks.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!