# OpcTimestampsToReturn Enum

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Defines which timesamp(s) is/are to be transmitted.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public enum OpcTimestampsToReturn
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Enum OpcTimestampsToReturn
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [ValueType](https://learn.microsoft.com/dotnet/api/system.valuetype) → [Enum](https://learn.microsoft.com/dotnet/api/system.enum) → **OpcTimestampsToReturn**

## Fields

| Name | Value | Description |
|---|---|---|
| <a id="both"></a>`Both` | `2` | The source- and server-related timestamps are to be transmitted. |
| <a id="neither"></a>`Neither` | `3` | Neither the source- nor the server-related timestamp are to be transmitted. |
| <a id="server"></a>`Server` | `1` | The server-related timestamp is to be transmitted. |
| <a id="source"></a>`Source` | `0` | The source-related timestamp is to be transmitted. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
