Share via


SqlServerMemoryBuilderExtensions.WithSqlServerMemoryStore Method

Definition

Registers SQL Server or Azure SQL connector.

public static Microsoft.SemanticKernel.Memory.MemoryBuilder WithSqlServerMemoryStore (this Microsoft.SemanticKernel.Memory.MemoryBuilder builder, string connectionString, string schema = "dbo");
static member WithSqlServerMemoryStore : Microsoft.SemanticKernel.Memory.MemoryBuilder * string * string -> Microsoft.SemanticKernel.Memory.MemoryBuilder
<Extension()>
Public Function WithSqlServerMemoryStore (builder As MemoryBuilder, connectionString As String, Optional schema As String = "dbo") As MemoryBuilder

Parameters

builder
MemoryBuilder

The MemoryBuilder instance.

connectionString
String

Database connection string.

schema
String

Schema of collection tables.

Returns

Updated Memory builder including Postgres memory connector.

Applies to