You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Task Namespace > Classes > Task Class > Task Methods > SetStateForTask
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Task.SetStateForTask Method

Set the task state.

C#
public Boolean SetStateForTask(Long taskId, EkEnumeration.TaskState newTaskState);
Visual Basic
Public Function SetStateForTask(ByVal taskId As Long, ByVal newTaskState As EkEnumeration.TaskState) As Boolean
Parameters 
Description 
taskId 
Task ID 
newTaskState 
New Task State 

Returns False if the state is successfully changed. Otherwise, it returns True.

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!