# ConnectionStringEnvironmentVariableNames Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ConnectionStringEnvironmentVariableNames](/reference/api/csharp/aspire.hosting/connectionstringenvironmentvariablenames.md)
- Kind: `Properties`
- Members: `4`

Describes the logical and physical names used for a connection-string reference.

<a id="isexplicit"></a>

## IsExplicit

- Name: `IsExplicit`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting/ApplicationModel/ConnectionStringEnvironmentVariableNames.cs)

Gets whether the physical environment-variable name was explicitly supplied by the source resource.

```csharp
public bool IsExplicit { get; init; }
```

<a id="logicalname"></a>

## LogicalName

- Name: `LogicalName`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting/ApplicationModel/ConnectionStringEnvironmentVariableNames.cs)

Gets the logical connection name used by application configuration.

```csharp
public string LogicalName { get; init; }
```

<a id="originalname"></a>

## OriginalName

- Name: `OriginalName`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting/ApplicationModel/ConnectionStringEnvironmentVariableNames.cs)

Gets the original environment-variable name derived directly from the logical name.

```csharp
public string OriginalName { get; init; }
```

<a id="portablename"></a>

## PortableName

- Name: `PortableName`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting/ApplicationModel/ConnectionStringEnvironmentVariableNames.cs)

Gets the portable environment-variable name.

```csharp
public string PortableName { get; init; }
```
