public void SetFactWorkLogHours( long taskId, long hours, DateTime startDate, string comment )
Set fact time report in hours
Syntax
public void SetFactWorkLogHours( long taskId, long hours, DateTime startDate, string comment )
Parameters
- taskId
- Type: System Int64
task ID
- hours
- Type: System Int64
Time spent, in hours
- startDate
- Type: System DateTime
Start date
- comment
- Type: System String
Comment
Remarks
Examples
//time spent, in hours long hours = 18; //start date var startDate = DateTime.Now; //comment var comment = "comment"; //set time report PublicAPI.Portal.TaskBase.Task.SetFactWorkLog(taskId, hours, startDate, comment);
See Also