# QDSDocumentSession Class

Namespace: [PIX.QMSAPI.DataObjects](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.htm)  
Assembly: PIX.dll

Represents a QDS session for a specific document.

## Inheritance

* System.Object
  * QDSDocumentSession

## Syntax

```
public class QDSDocumentSession
```

## Constructors

| Name | Description |
| --- | --- |
| [QDSDocumentSession(Guid, Guid, DocumentState)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSession.-ctor.htm#PIX_QMSAPI_DataObjects_QDSDocumentSession__ctor_System_Guid_System_Guid_PIX_QMSAPI_DataObjects_Enums_DocumentState_) |  |

## Properties

| Name | Description |
| --- | --- |
| [OpenDocumentResult](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSession.OpenDocumentResult.htm#PIX_QMSAPI_DataObjects_QDSDocumentSession_OpenDocumentResult) | The state of the session. |
| [QDSID](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSession.QDSID.htm#PIX_QMSAPI_DataObjects_QDSDocumentSession_QDSID) | The ID of the QDS used by the session. |
| [SessionID](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSession.SessionID.htm#PIX_QMSAPI_DataObjects_QDSDocumentSession_SessionID) | The ID of the session. |

## Methods

| Name | Description |
| --- | --- |
| [Clone()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSession.Clone.htm#PIX_QMSAPI_DataObjects_QDSDocumentSession_Clone) |  |
| [IsValid(out List<String>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.QDSDocumentSession.IsValid.htm#PIX_QMSAPI_DataObjects_QDSDocumentSession_IsValid_System_Collections_Generic_List_System_String___) |  |

### Extension Methods

[ApiFilter.FilterFor<T>(T, Nullable<ApiVersion>)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.ApiFiltering.ApiFilter.FilterFor.htm#PIX_ApiFiltering_ApiFilter_FilterFor__1___0_System_Nullable_PIX_ApiVersion__)