# IsValidConnectionString Method

## Overloads

| [IsValidConnectionString(Connection)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.IsValidConnectionString.htm#Qlik_Engine_Hub_IsValidConnectionString_Qlik_Engine_Connection_) |  | Checks if a connection string is valid. |
| --- | --- | --- |

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

## IsValidConnectionString(Connection)

Checks if a connection string is valid.

### Declaration

```

          public bool IsValidConnectionString([QixName("qConnection")] Connection connection)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Connection](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Connection.htm) | connection | Information about the connection. |

### Returns

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

### Implements

[IHub.IsValidConnectionString(Connection)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.IsValidConnectionString.htm#Qlik_Engine_IHub_IsValidConnectionString_Qlik_Engine_Connection_)