Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
BTreeCursor..::.DbStream Method (DatabaseStreamConfig)
BTreeCursor Class See Also Send Feedback

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

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

# See Also

BTreeCursor Class
DbStream Overload
BerkeleyDB Namespace