# GetTaskAvgExecutionTimeForSuccessfullExecutions Method

## Overloads

| [GetTaskAvgExecutionTimeForSuccessfullExecutions(Guid)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api7.IQMS7.GetTaskAvgExecutionTimeForSuccessfullExecutions.htm#PIX_Services_V12_Api7_IQMS7_GetTaskAvgExecutionTimeForSuccessfullExecutions_System_Guid_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api7.IQMS7.GetTaskAvgExecutionTimeForSuccessfullExecutions.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api7.IQMS7.GetTaskAvgExecutionTimeForSuccessfullExecutions.htm)

## GetTaskAvgExecutionTimeForSuccessfullExecutions(Guid)

### Declaration

```

          TimeSpan GetTaskAvgExecutionTimeForSuccessfullExecutions(Guid taskId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Guid | taskId |  |

### Returns

| Type | Description |
| --- | --- |
| System.TimeSpan |  |