Create a database stream pointing to a key/value pair where the data item is a external file with the given configuration.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

Syntax

C#
public DatabaseStream DbStream(
	DatabaseStreamConfig cfg
)
Visual Basic (Declaration)
Public Function DbStream ( _
	cfg As DatabaseStreamConfig _
) As DatabaseStream
Visual C++
public:
DatabaseStream^ DbStream(
	DatabaseStreamConfig^ cfg
)

Parameters

cfg
Type: BerkeleyDB..::.DatabaseStreamConfig
The configuration properties for the database stream.

Return Value

A newly created database stream

Exceptions

ExceptionCondition
BerkeleyDB..::.DatabaseException Thrown if the data of the key/value pair it is pointing to is not an external file.

See Also