# DestroySessionVariable Method

## Overloads

| [DestroySessionVariable(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.DestroySessionVariable.htm#Qlik_Engine_App_DestroySessionVariable_System_String_) |  | Removes a transient variable. |
| --- | --- | --- |

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

## DestroySessionVariable(String)

Removes a transient variable.

### Declaration

```

          public bool DestroySessionVariable([QixName("qId")] string id)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | id | Identifier of the variable. |

### Returns

| Type | Description |
| --- | --- |
| System.Boolean |  |

### Implements

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

### Remarks

The operation is successful if **qSuccess** is set to true.