SqlServerReplOptions

Classsealednet10.0
📦 Aspire.Hosting.SqlServer v17.0.0
Options for configuring the SQL Server REPL.
namespace Aspire.Hosting;
public sealed class SqlServerReplOptions
{
// ...
}
The selected sqlcmd client must already be installed in the SQL Server container. These options do not install a client or change the container image.
View all constructors
View all properties

Select the legacy sqlcmd client when using an older SQL Server image:

builder.AddSqlServer("sql")
.WithRepl(options => options.Command = SqlServerReplCommand.Version17);