Version

SetTaskProperty Method

Set a property of the supplied task
Syntax
'Declaration
 
Public Sub SetTaskProperty( _
   ByVal oTaskArg As System.Object, _
   ByVal oPropertyName As System.Object, _
   Optional ByVal oNewValue As System.Object _
) 
public void SetTaskProperty( 
   System.object oTaskArg,
   System.object oPropertyName,
   System.object oNewValue
)
public: void SetTaskProperty( 
   System.Object* oTaskArg,
   System.Object* oPropertyName,
   System.Object* oNewValue
) 

Parameters

oTaskArg
String TaskName or integer index to represent a task.
oPropertyName
string property name or compound property string, or enumerated value representing the property name
oNewValue
new value for the property
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