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
HashDatabase..::.Stats Method (Transaction, Isolation)
HashDatabase Class See Also

Return the database statistical information for this database.

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#
    public HashStats Stats(
    	Transaction txn,
    	Isolation isoDegree
    )

Visual Basic (Declaration)
    Public Function Stats ( _
    	txn As Transaction, _
    	isoDegree As Isolation _
    ) As HashStats

Visual C++
    public:
    HashStats^ Stats(
    	Transaction^ txn,
    	Isolation isoDegree
    )

#### Parameters

txn
  Type: BerkeleyDB..::.Transaction
  If the operation is part of an application-specified transaction, txn is a Transaction object returned from BeginTransaction()()(); if the operation is part of a Berkeley DB Concurrent Data Store group, txn is a handle returned from BeginCDSGroup()()(); otherwise null.

isoDegree
  Type: BerkeleyDB..::.Isolation
  The level of isolation for database reads. DEGREE_ONE will be silently ignored for databases which did not specify ReadUncommitted.

#### Return Value

Database statistical information.

# See Also

HashDatabase Class
Stats Overload
BerkeleyDB Namespace