Create a new instance of the service that attaches to the specified directory location

Namespace: BrightstarDB.Client
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public EmbeddedBrightstarService(
	string baseLocation,
	EmbeddedServiceConfiguration serviceConfigurationOptions
)
Visual Basic
Public Sub New ( 
	baseLocation As String,
	serviceConfigurationOptions As EmbeddedServiceConfiguration
)
Visual C++
public:
EmbeddedBrightstarService(
	String^ baseLocation, 
	EmbeddedServiceConfiguration^ serviceConfigurationOptions
)
F#
new : 
        baseLocation : string * 
        serviceConfigurationOptions : EmbeddedServiceConfiguration -> EmbeddedBrightstarService

Parameters

baseLocation
Type: System..::..String
The full path to the location of the directory that contains one or more Brightstar stores
serviceConfigurationOptions
Type: BrightstarDB.Config..::..EmbeddedServiceConfiguration
OPTIONAL: Additional configuration options that apply only when creating an embedded service instance.

Remarks

The embedded server is thread-safe but doesn't support concurrent access to the same base location by multiple instances. You should ensure in your code that only one EmbeddedBrightstarService instance is connected to any given base location at a given time.

See Also