# DeleteConnection Method

## Overloads

| [DeleteConnection(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.DeleteConnection.htm#Qlik_Engine_App_DeleteConnection_System_String_) |  | Deletes a connection. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.DeleteConnection.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.DeleteConnection.htm)

## DeleteConnection(String)

Deletes a connection.

### Declaration

```

          public void DeleteConnection([QixName("qConnectionId")] string connectionId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | connectionId | Identifier of the connection to remove. |

### Implements

[IApp.DeleteConnection(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.DeleteConnection.htm#Qlik_Engine_IApp_DeleteConnection_System_String_)

### Remarks

In Qlik Sense Enterprise, there is an additional file connection named `AttachedFiles` . The AttachedFiles connection can only be removed by the administrator of the system.