Version

SetTaskPercent Method

Set the percent completed\CompletedThrough for the supplied task.
Syntax
'Declaration
 
Public Sub SetTaskPercent( _
   ByVal oTaskArg As System.Object, _
   ByVal oNewPercent As System.Object _
) 
public void SetTaskPercent( 
   System.object oTaskArg,
   System.object oNewPercent
)
public: void SetTaskPercent( 
   System.Object* oTaskArg,
   System.Object* oNewPercent
) 

Parameters

oTaskArg
String TaskName or integer index to represent a task.
oNewPercent
DateTime value representing the new finish time, or decimal value representing a percent of the current size or string value of the new duration.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also