# OpcClientInterfaces Members

> Reference: Defines additional options to be used for the different interfaces consumed by the OpcClient.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcClientInterfaces</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>
</dl>

## Properties

### DataAccess

Gets an instance which can be used to configure the communication with the data access layer.

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

```csharp
public OpcClassicDataAccessOptions DataAccess { get; }
```

</div>

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

```vbnet
Public ReadOnly Property DataAccess As OpcClassicDataAccessOptions
```

</div>

**Property value**

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

An instance of the [OpcClassicDataAccessOptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.classic.opcclassicdataaccessoptions/) class.

### UseBreakMonitoring

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

Gets or sets a value that indicates whether the connection with the OPC Classic server is monitored for breaks (in case of DCOM connections).

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

```csharp
public bool UseBreakMonitoring { get; set; }
```

</div>

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

```vbnet
Public Property UseBreakMonitoring As Boolean
```

</div>

**Property value**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

`true` to enable break monitoring, `false` to disable it. The default value is `false`.

**Remarks**

By enabling this option, the DCOM connection state to the OPC Classic server will be replicated on the [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) instance (by temporarily stopping the UA wrapper server), so that [State](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/state) indicates the current connection state.

A connection break is detected by calling `IOPCServer.GetStatus()` and checking for HResult `0x800706BA` (Win32 error `RPC_S_SERVER_UNAVAILABLE`). In that case, the UA Wrapper Server will stop, so that the OpcClient's state will change in order to indicate a connection loss. Once a new, functional instance of the OPC Classic server can be created, the wrapper server will start again.

The mechanism is disabled by default because it requires to create a second instance of the COM object for the OPC Classic server (in addition to the one created by the UA Wrapper server), which could have unintended side effects on some servers.
