# AzureMessagingEventHubsSettings

- Kind: `class`
- Package: [Aspire.Azure.Messaging.EventHubs](/reference/api/csharp/aspire.azure.messaging.eventhubs.md)
- Version: `13.3.0`
- Namespace: `Aspire.Azure.Messaging.EventHubs`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.Messaging.EventHubs/AzureMessagingEventHubsSettings.cs)
- Implements: `IConnectionStringSettings`

Represents additional shared settings for configuring an Event Hubs client.

## Definition

```csharp
namespace Aspire.Azure.Messaging.EventHubs;

public abstract class AzureMessagingEventHubsSettings
    : Aspire.Azure.Common.IConnectionStringSettings
{
    // ...
}
```

## Properties

- [ConnectionString](/reference/api/csharp/aspire.azure.messaging.eventhubs/azuremessagingeventhubssettings/properties.md#connectionstring) : `string?` `get; set` -- Gets or sets the connection string used to connect to the Event Hubs namespace.
- [Credential](/reference/api/csharp/aspire.azure.messaging.eventhubs/azuremessagingeventhubssettings/properties.md#credential) : `TokenCredential?` `get; set` -- Gets or sets the credential used to authenticate to the Event Hubs namespace.
- [DisableHealthChecks](/reference/api/csharp/aspire.azure.messaging.eventhubs/azuremessagingeventhubssettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the Azure Event Hubs health check is disabled or not.
- [DisableTracing](/reference/api/csharp/aspire.azure.messaging.eventhubs/azuremessagingeventhubssettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
- [EventHubName](/reference/api/csharp/aspire.azure.messaging.eventhubs/azuremessagingeventhubssettings/properties.md#eventhubname) : `string?` `get; set` -- Gets or sets the name of the Event Hub.
- [FullyQualifiedNamespace](/reference/api/csharp/aspire.azure.messaging.eventhubs/azuremessagingeventhubssettings/properties.md#fullyqualifiednamespace) : `string?` `get; set` -- Gets or sets the fully qualified Event Hubs namespace.
