SnapServerAddDatabase(IToServerDatabaseSettings) Method

Adds a database to the server using the provided database configuration.

Definition

Namespace: SnapDB.Snap.Services
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void AddDatabase(
	IToServerDatabaseSettings databaseConfig
)

Parameters

databaseConfig  IToServerDatabaseSettings
The database configuration to add to the server.

Remarks

This method adds a new database to the server based on the provided databaseConfig. It converts the database configuration from an IToServerDatabaseSettings object to a ServerDatabaseSettings object before adding it to the server.

See Also