# GetDBCommandTask Method

## Overloads

| [GetDBCommandTask(Guid, Guid)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.V11.IQMS.GetDBCommandTask.htm#PIX_Services_V11_IQMS_GetDBCommandTask_System_Guid_System_Guid_) |  |  |
| --- | --- | --- |

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

## GetDBCommandTask(Guid, Guid)

### Declaration

```

          DBCommandTask GetDBCommandTask(Guid qdsID, Guid taskID)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Guid | qdsID |  |
| System.Guid | taskID |  |

### Returns

| Type | Description |
| --- | --- |
| [DBCommandTask](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.DBCommandTask.htm) |  |