# SqlServerReplOptions Properties

- Package: [Aspire.Hosting.SqlServer](/reference/api/csharp/aspire.hosting.sqlserver.md)
- Type: [SqlServerReplOptions](/reference/api/csharp/aspire.hosting.sqlserver/sqlserverreploptions.md)
- Kind: `Properties`
- Members: `1`

Options for configuring the SQL Server REPL.

<a id="command"></a>

## Command

- Name: `Command`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.SqlServer/SqlServerReplOptions.cs)

Gets or sets the sqlcmd executable path inside the SQL Server container. Defaults to [SqlServerReplCommand.Version18](/reference/api/csharp/aspire.hosting.sqlserver/sqlserverreplcommand/fields.md#version18), matching the integration's default SQL Server image.

```csharp
public string Command { get; set; }
```

## Remarks

Use a well-known path from [SqlServerReplCommand](/reference/api/csharp/aspire.hosting.sqlserver/sqlserverreplcommand.md) or a custom executable path. The executable is invoked directly, without shell interpretation, using the sqlcmd arguments.

## ATS metadata

### ATS export

- Available to Polyglot AppHosts through the Aspire Type System.
