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
)
Visual Basic
Public Sub New ( 
	baseLocation As String
)
Visual C++
public:
EmbeddedBrightstarService(
	String^ baseLocation
)
F#
new : 
        baseLocation : string -> EmbeddedBrightstarService

Parameters

baseLocation
Type: System..::..String
The full path to the location of the directory that contains one or more Brightstar stores

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. For additional control over the service internals, it is recommended to use the overload of this constructor that accepts a EmbeddedServiceConfiguration

See Also