SnapServerDatabaseBaseCreateDatabase Method

Creates a new server database from the provided config.

Definition

Namespace: SnapDB.Snap.Services
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static SnapServerDatabaseBase CreateDatabase(
	ServerDatabaseSettings databaseConfig
)

Parameters

databaseConfig  ServerDatabaseSettings
The configuration settings for the database.

Return Value

SnapServerDatabaseBase
A new instance of SnapServerDatabaseBase derived from SnapServerDatabaseBase.

Remarks

The CreateDatabase(ServerDatabaseSettings) method is used to create a new instance of a SnapServerDatabaseBase with the specified configuration settings. It accepts a ServerDatabaseSettings object containing configuration parameters such as key and value types, and returns a new instance of the database.

See Also