# DestroySessionVariable Method

## Overloads

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

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

## DestroySessionVariable(String)

Removes a transient variable.

### Declaration

```

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

### Parameters

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

### Returns

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

### Remarks

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