# DestroySessionVariableById Method

## Overloads

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

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

## DestroySessionVariableById(String)

Removes a transient variable.

### Declaration

```

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

### Parameters

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

### Returns

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

### Remarks

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