# DSResource Constructor

## Overloads

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

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

## DSResource()

### Declaration

```

          public DSResource()
    
  
```

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

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

### Declaration

```

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

### Parameters

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

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

## DSResource(XmlReader)

### Declaration

```
public DSResource(XmlReader reader)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Xml.XmlReader | reader |  |