# DistributionResource Constructor

## Overloads

| [DistributionResource()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.DistributionResource.-ctor.htm#PIX_DistributionResource__ctor) |  |  |
| --- | --- | --- |
| [DistributionResource(Guid, String, eDistributionType)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.DistributionResource.-ctor.htm#PIX_DistributionResource__ctor_System_Guid_System_String_PIX_eDistributionType_) |  |  |
| [DistributionResource(XmlReader)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.DistributionResource.-ctor.htm#PIX_DistributionResource__ctor_System_Xml_XmlReader_) |  |  |

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

## DistributionResource()

### Declaration

```

          public DistributionResource()
    
  
```

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

## DistributionResource(Guid, String, eDistributionType)

### Declaration

```

          public DistributionResource(Guid i_ResourceID, string i_Name, eDistributionType i_ResourceType)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Guid | i\_ResourceID |  |
| System.String | i\_Name |  |
| [eDistributionType](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.eDistributionType.htm) | i\_ResourceType |  |

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

## DistributionResource(XmlReader)

### Declaration

```
public DistributionResource(XmlReader reader)
```

### Parameters

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