MongoDBMemoryStore Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MongoDBMemoryStore(IMongoClient, String, String) |
Initializes a new instance of the MongoDBMemoryStore class. |
MongoDBMemoryStore(String, String, String) |
Initializes a new instance of the MongoDBMemoryStore class. |
MongoDBMemoryStore(IMongoClient, String, String)
Initializes a new instance of the MongoDBMemoryStore class.
public MongoDBMemoryStore (MongoDB.Driver.IMongoClient mongoClient, string databaseName, string? indexName = default);
new Microsoft.SemanticKernel.Connectors.MongoDB.MongoDBMemoryStore : MongoDB.Driver.IMongoClient * string * string -> Microsoft.SemanticKernel.Connectors.MongoDB.MongoDBMemoryStore
Public Sub New (mongoClient As IMongoClient, databaseName As String, Optional indexName As String = Nothing)
Parameters
- mongoClient
- MongoDB.Driver.IMongoClient
MongoDB client.
- databaseName
- String
Database name.
- indexName
- String
Name of the search index. If no value is provided default index will be used.
Applies to
MongoDBMemoryStore(String, String, String)
Initializes a new instance of the MongoDBMemoryStore class.
public MongoDBMemoryStore (string connectionString, string databaseName, string? indexName = default);
new Microsoft.SemanticKernel.Connectors.MongoDB.MongoDBMemoryStore : string * string * string -> Microsoft.SemanticKernel.Connectors.MongoDB.MongoDBMemoryStore
Public Sub New (connectionString As String, databaseName As String, Optional indexName As String = Nothing)
Parameters
- connectionString
- String
MongoDB connection string.
- databaseName
- String
Database name.
- indexName
- String
Name of the search index. If no value is provided default index will be used.