Create a new store with a specific persistence type for the main indexes

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

Syntax

C#
public void CreateStore(
	string storeName,
	PersistenceType persistenceType
)
Visual Basic
Public Sub CreateStore ( 
	storeName As String,
	persistenceType As PersistenceType
)
Visual C++
public:
virtual void CreateStore(
	String^ storeName, 
	PersistenceType persistenceType
) sealed
F#
abstract CreateStore : 
        storeName : string * 
        persistenceType : PersistenceType -> unit 
override CreateStore : 
        storeName : string * 
        persistenceType : PersistenceType -> unit 

Parameters

storeName
Type: System..::..String
The name of the store to create.
persistenceType
Type: PersistenceType
The type of persistence to use for the main store indexes

Implements

IBrightstarService..::..CreateStore(String, PersistenceType)

Remarks

See StoreNameRegex for the regular expression used to validate store names.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionRaised if storeName is NULL
System..::..ArgumentExceptionRaised if storeName is an empty string or does not match the allowed regular expression production for store names.

See Also