# GetTaskAvgExecutionTimeForSuccessfullExecutions Method

## Overloads

| [GetTaskAvgExecutionTimeForSuccessfullExecutions(Guid)](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.Services.V12.IQMS.GetTaskAvgExecutionTimeForSuccessfullExecutions.htm#PIX_Services_V12_IQMS_GetTaskAvgExecutionTimeForSuccessfullExecutions_System_Guid_) |  |  |
| --- | --- | --- |

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

## GetTaskAvgExecutionTimeForSuccessfullExecutions(Guid)

### Declaration

```

          TimeSpan GetTaskAvgExecutionTimeForSuccessfullExecutions(Guid taskId)
    
  
```

### Parameters

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

### Returns

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