# OpcClient.TranslatePaths Method

> Reference: Translates paths starting from the root node using the pathsElements specified.

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

<span class="api-meta">16 overloads · since v2.18</span>

| Overload | Description |
|---|---|
| [TranslatePaths(params IEnumerable&lt;OpcName&gt;\[\])](#translatepaths-system-collections-generic-ienumerable-of-opc-uafx-opcname-array)<span class="api-meta">since v2.18</span> | Translates paths starting from the root node using the `pathsElements` specified. |
| [TranslatePaths(IEnumerable&lt;IEnumerable&lt;OpcName&gt;&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-system-collections-generic-ienumerable-of-system-collections-generic-ienumerable-of-opc-uafx-opcname)<span class="api-meta">since v2.18</span> | Translates paths starting from the root node using the `pathsElements` specified. |
| [TranslatePaths(OpcNodeId, params IEnumerable&lt;OpcName&gt;\[\])](#translatepaths-opc-uafx-opcnodeid-system-collections-generic-ienumerable-of-opc-uafx-opcname-array)<span class="api-meta">since v2.18</span> | Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed. |
| [TranslatePaths(OpcNodeId, IEnumerable&lt;IEnumerable&lt;OpcName&gt;&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-opc-uafx-opcnodeid-system-collections-generic-ienumerable-of-system-collections-generic-ienumerable-of-opc-uafx-opcname)<span class="api-meta">since v2.18</span> | Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed. |
| [TranslatePaths(params IEnumerable&lt;OpcRelativePathElement&gt;\[\])](#translatepaths-system-collections-generic-ienumerable-of-opc-uafx-opcrelativepathelement-array)<span class="api-meta">since v2.18</span> | Translates a path starting from the root node using the `pathsElements` specified. |
| [TranslatePaths(IEnumerable&lt;IEnumerable&lt;OpcRelativePathElement&gt;&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-system-collections-generic-ienumerable-of-system-collections-generic-ienumerable-of-opc-uafx-opcrelativepathelement)<span class="api-meta">since v2.18</span> | Translates paths starting from the root node using the `pathsElements` specified. |
| [TranslatePaths(OpcNodeId, params IEnumerable&lt;OpcRelativePathElement&gt;\[\])](#translatepaths-opc-uafx-opcnodeid-system-collections-generic-ienumerable-of-opc-uafx-opcrelativepathelement-array)<span class="api-meta">since v2.18</span> | Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed. |
| [TranslatePaths(OpcNodeId, IEnumerable&lt;IEnumerable&lt;OpcRelativePathElement&gt;&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-opc-uafx-opcnodeid-system-collections-generic-ienumerable-of-system-collections-generic-ienumerable-of-opc-uafx-opcrelativepathelement)<span class="api-meta">since v2.18</span> | Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed. |
| [TranslatePaths(params string\[\])](#translatepaths-system-string-array)<span class="api-meta">since v2.18</span> | Translates the `paths` starting from the root node. |
| [TranslatePaths(IEnumerable&lt;string&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-system-collections-generic-ienumerable-of-system-string)<span class="api-meta">since v2.18</span> | Translates the `paths` starting from the root node. |
| [TranslatePaths(OpcNodeId, params string\[\])](#translatepaths-opc-uafx-opcnodeid-system-string-array)<span class="api-meta">since v2.18</span> | Translates the `paths` starting from the node identified by the `nodeId` specified. |
| [TranslatePaths(OpcNodeId, IEnumerable&lt;string&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-opc-uafx-opcnodeid-system-collections-generic-ienumerable-of-system-string)<span class="api-meta">since v2.18</span> | Translates the `paths` starting from the node identified by the `nodeId` specified. |
| [TranslatePaths(OpcNodeId, params OpcRelativePath\[\])](#translatepaths-opc-uafx-opcnodeid-opc-uafx-opcrelativepath-array)<span class="api-meta">since v2.18</span> | Translates the `paths` starting from the node identified by the `nodeId` specified. |
| [TranslatePaths(OpcNodeId, IEnumerable&lt;OpcRelativePath&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-opc-uafx-opcnodeid-system-collections-generic-ienumerable-of-opc-uafx-opcrelativepath)<span class="api-meta">since v2.18</span> | Translates the `paths` starting from the node identified by the `nodeId` specified. |
| [TranslatePaths(IEnumerable&lt;OpcTranslatePath&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/translatepaths#translatepaths-system-collections-generic-ienumerable-of-opc-uafx-opctranslatepath)<span class="api-meta">since v2.18</span> | Translates one or more paths starting from one or more dedicated nodes using the specified `commands`. |
| [TranslatePaths(params OpcTranslatePath\[\])](#translatepaths-opc-uafx-opctranslatepath-array)<span class="api-meta">since v2.18</span> | Translates one or more paths starting from one or more dedicated nodes using the specified `commands`. |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) and [BadTooManyOperations](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanyoperations). |

## TranslatePaths(params IEnumerable&lt;OpcName&gt;\[\])

<span class="api-meta">since v2.18</span>

Translates paths starting from the root node using the `pathsElements` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    params IEnumerable<OpcName>[] pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    ParamArray pathsElements As IEnumerable(Of OpcName)()) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `pathsElements` | params [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)&gt;[] | An array of sequences of [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) objects representing the value of the [BrowseName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#browsename) attribute of the nodes to visit to translate the last [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) item in a sequence in `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(IEnumerable&lt;IEnumerable&lt;OpcName&gt;&gt;)

<span class="api-meta">since v2.18</span>

Translates paths starting from the root node using the `pathsElements` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    IEnumerable<IEnumerable<OpcName>> pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    pathsElements As IEnumerable(Of IEnumerable(Of OpcName))) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `pathsElements` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)&gt;&gt; | A sequence of sequences of [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) objects representing the value of the [BrowseName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#browsename) attribute of the nodes to visit to translate the last [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) item in a sequence in `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, params IEnumerable&lt;OpcName&gt;\[\])

<span class="api-meta">since v2.18</span>

Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    params IEnumerable<OpcName>[] pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    ParamArray pathsElements As IEnumerable(Of OpcName)()) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `pathsElements`. |
| `pathsElements` | params [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)&gt;[] | An array of sequences of [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) objects representing the value of the [BrowseName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#browsename) attribute of the nodes to visit to translate the last [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) item in a sequence in `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, IEnumerable&lt;IEnumerable&lt;OpcName&gt;&gt;)

<span class="api-meta">since v2.18</span>

Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    IEnumerable<IEnumerable<OpcName>> pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    pathsElements As IEnumerable(Of IEnumerable(Of OpcName))) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `pathsElements`. |
| `pathsElements` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)&gt;&gt; | A sequence of sequences of [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) objects representing the value of the [BrowseName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#browsename) attribute of the nodes to visit to translate the last [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) item in a sequence in `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(params IEnumerable&lt;OpcRelativePathElement&gt;\[\])

<span class="api-meta">since v2.18</span>

Translates a path starting from the root node using the `pathsElements` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    params IEnumerable<OpcRelativePathElement>[] pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    ParamArray pathsElements As IEnumerable(Of OpcRelativePathElement)()) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `pathsElements` | params [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/)&gt;[] | An array of sequences of [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) objects representing the translation directives of the nodes to visit to translate the last [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) item a sequence in `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(IEnumerable&lt;IEnumerable&lt;OpcRelativePathElement&gt;&gt;)

<span class="api-meta">since v2.18</span>

Translates paths starting from the root node using the `pathsElements` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    IEnumerable<IEnumerable<OpcRelativePathElement>> pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    pathsElements As IEnumerable(Of IEnumerable(Of OpcRelativePathElement))) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `pathsElements` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/)&gt;&gt; | A sequence of sequences of [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) objects representing the translation directives of the nodes to visit to translate the last [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) item in a sequence in `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, params IEnumerable&lt;OpcRelativePathElement&gt;\[\])

<span class="api-meta">since v2.18</span>

Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    params IEnumerable<OpcRelativePathElement>[] pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    ParamArray pathsElements As IEnumerable(Of OpcRelativePathElement)()) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `pathsElements`. |
| `pathsElements` | params [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/)&gt;[] | An array of sequences of [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) objects representing the translation directives of the nodes to visit to translate the last [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) item in a sequence of `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, IEnumerable&lt;IEnumerable&lt;OpcRelativePathElement&gt;&gt;)

<span class="api-meta">since v2.18</span>

Translates paths starting from the node identified by the `nodeId` specified using the `pathsElements` passed.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    IEnumerable<IEnumerable<OpcRelativePathElement>> pathsElements)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    pathsElements As IEnumerable(Of IEnumerable(Of OpcRelativePathElement))) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `pathsElements`. |
| `pathsElements` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/)&gt;&gt; | A sequence of sequences of [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) objects representing the translation directives of the nodes to visit to translate the last [OpcRelativePathElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepathelement/) item in a sequence of `pathsElements` to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `pathsElements` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `pathsElements` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `pathsElements` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(params string\[\])

<span class="api-meta">since v2.18</span>

Translates the `paths` starting from the root node.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(params string[] paths)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    ParamArray paths As String()) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `paths` | params [String](https://learn.microsoft.com/dotnet/api/system.string)[] | An array of [string](https://learn.microsoft.com/dotnet/api/system.string) instances representing a [OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/) to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `paths` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `paths` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `paths` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(IEnumerable&lt;string&gt;)

<span class="api-meta">since v2.18</span>

Translates the `paths` starting from the root node.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(IEnumerable<string> paths)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    paths As IEnumerable(Of String)) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `paths` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[String](https://learn.microsoft.com/dotnet/api/system.string)&gt; | A sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) instances representing a [OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/) to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `paths` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `paths` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `paths` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, params string\[\])

<span class="api-meta">since v2.18</span>

Translates the `paths` starting from the node identified by the `nodeId` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    params string[] paths)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    ParamArray paths As String()) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `paths`. |
| `paths` | params [String](https://learn.microsoft.com/dotnet/api/system.string)[] | An array of [string](https://learn.microsoft.com/dotnet/api/system.string) instances representing a [OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/) to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `paths` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `paths` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `paths` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, IEnumerable&lt;string&gt;)

<span class="api-meta">since v2.18</span>

Translates the `paths` starting from the node identified by the `nodeId` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    IEnumerable<string> paths)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    paths As IEnumerable(Of String)) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `paths`. |
| `paths` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[String](https://learn.microsoft.com/dotnet/api/system.string)&gt; | A sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) instances representing a [OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/) to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `paths` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `paths` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `paths` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, params OpcRelativePath\[\])

<span class="api-meta">since v2.18</span>

Translates the `paths` starting from the node identified by the `nodeId` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    params OpcRelativePath[] paths)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    ParamArray paths As OpcRelativePath()) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `paths`. |
| `paths` | params [OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/)[] | An array of [OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/) instances to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `paths` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `paths` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `paths` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(OpcNodeId, IEnumerable&lt;OpcRelativePath&gt;)

<span class="api-meta">since v2.18</span>

Translates the `paths` starting from the node identified by the `nodeId` specified.

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

```csharp
public IEnumerable<OpcNodeId> TranslatePaths(
    OpcNodeId nodeId,
    IEnumerable<OpcRelativePath> paths)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    nodeId As OpcNodeId,
    paths As IEnumerable(Of OpcRelativePath)) As IEnumerable(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service will translate the `paths`. |
| `paths` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/)&gt; | A sequence of [OpcRelativePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcrelativepath/) instances to the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)s requested by the service. |

**Returns**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt;

The target identifiers the `paths` could translated to.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `paths` or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `paths` specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |

**Remarks**

Known results for this method are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(IEnumerable&lt;OpcTranslatePath&gt;)

<span class="api-meta">since v2.18</span>

Translates one or more paths starting from one or more dedicated nodes using the specified `commands`.

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

```csharp
public OpcTranslatePathResultCollection TranslatePaths(
    IEnumerable<OpcTranslatePath> commands)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    commands As IEnumerable(Of OpcTranslatePath)) As OpcTranslatePathResultCollection
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `commands` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcTranslatePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepath/)&gt; | A sequence of [OpcTranslatePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepath/) instances to process. |

**Returns**

[OpcTranslatePathResultCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepathresultcollection/)

An instance of the [OpcTranslatePathResultCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepathresultcollection/) class which contains the target identifiers the paths were translated to through the `commands` specified; together with information about the outcome of each processed command.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `commands` sequence or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `commands` specified. |

**Remarks**

Known results for the `commands` specified are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |

## TranslatePaths(params OpcTranslatePath\[\])

<span class="api-meta">since v2.18</span>

Translates one or more paths starting from one or more dedicated nodes using the specified `commands`.

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

```csharp
public OpcTranslatePathResultCollection TranslatePaths(
    params OpcTranslatePath[] commands)
```

</div>

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

```vbnet
Public Function TranslatePaths(
    ParamArray commands As OpcTranslatePath()) As OpcTranslatePathResultCollection
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `commands` | params [OpcTranslatePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepath/)[] | An array of [OpcTranslatePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepath/) instances to process. |

**Returns**

[OpcTranslatePathResultCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepathresultcollection/)

An instance of the [OpcTranslatePathResultCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctranslatepathresultcollection/) class which contains the target identifiers the paths were translated to through the `commands` specified; together with information about the outcome of each processed command.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `commands` sequence or one of its items is a null reference (Nothing in Visual Basic). |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The translate path service is currently not supported, especially using the `commands` specified. |

**Remarks**

Known results for the `commands` specified are:

| Status | Description |
|---|---|
| [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid) | For more details see [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid). |
| [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown) | For more details see [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown). |
| [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo) | This code indicates that the relativePath contained an empty list. |
| [BadBrowseNameInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badbrowsenameinvalid) | This code indicates that a TargetName was missing in a RelativePath. |
| [UncertainReferenceOutOfServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#uncertainreferenceoutofserver) | The path element has targets which are in another server. |
| [BadTooManyMatches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymatches) | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
| [BadQueryTooComplex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badquerytoocomplex) | The requested operation requires too many resources in the server. |
| [BadNoMatch](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnomatch) | The requested relativePath cannot be resolved to a target to return. |
