# DSResource Constructor

## Overloads

| [DSResource()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm#PIX_QMSAPI_DataObjects_DSResource__ctor) |  |  |
| --- | --- | --- |
| [DSResource(Guid, String, String, String, String, String, String, IDictionary<String, String>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm#PIX_QMSAPI_DataObjects_DSResource__ctor_System_Guid_System_String_System_String_System_String_System_String_System_String_System_String_System_Collections_Generic_IDictionary_System_String_System_String__) |  |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm)

## DSResource()

### Declaration

```

          public DSResource()
    
  
```

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.DSResource.-ctor.htm)

## DSResource(Guid, String, String, String, String, String, String, IDictionary&lt;String, String&gt;)

### Declaration

```

          public DSResource(Guid id, string name, string type, string path, string username, string password, string errStatus, IDictionary<string, string> settings)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Guid | id |  |
| System.String | name |  |
| System.String | type |  |
| System.String | path |  |
| System.String | username |  |
| System.String | password |  |
| System.String | errStatus |  |
| System.Collections.Generic.IDictionary&lt;System.String, System.String&gt; | settings |  |