# OpcServerDiscovery Members

> Reference: Provides the settings a server uses to make itself known to discovery servers.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcServerDiscovery</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
</dl>

## Properties

### RegistrationInterval

Gets or sets the interval at which the server registers itself at the local discovery server (LDS).

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

```csharp
public int RegistrationInterval { get; set; }
```

</div>

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

```vbnet
Public Property RegistrationInterval As Integer
```

</div>

**Property value**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

The number of milliseconds between two registrations at the LDS or 0 to not register at all. The default value is 30000.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentOutOfRangeException](https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception) | The `value` is negative. |

**Remarks**

The server registers at `opc.tcp://localhost:4840` unless the [Configuration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverbase/members#configuration) states a different registration endpoint. After a failed attempt the server retries after one second and doubles the delay up to the interval.

The value is stored in the [Configuration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverbase/members#configuration) and takes effect with the next start of the server.
