SetPartitionByCallback Method

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
BTreeDatabaseConfig..::.SetPartitionByCallback Method
BTreeDatabaseConfig Class See Also Send Feedback

Enable database partitioning using the specified number of partitions and partition function. Return true if the specified number of partitions are successfully enabled; otherwise return false. The number of partitions to createThe name of partitioning function

Namespace: BerkeleyDB
Assembly: libdb_dotnet60 (in libdb_dotnet60.dll) Version: 6.0.35.0

# Syntax

C#
    public bool SetPartitionByCallback(
    	uint parts,
    	PartitionDelegate partFunc
    )

Visual Basic (Declaration)
    Public Function SetPartitionByCallback ( _
    	parts As UInteger, _
    	partFunc As PartitionDelegate _
    ) As Boolean

Visual C++
    public:
    bool SetPartitionByCallback(
    	unsigned int parts,
    	PartitionDelegate^ partFunc
    )

#### Parameters

parts
  Type: System..::.UInt32

partFunc
  Type: BerkeleyDB..::.PartitionDelegate

# See Also

BTreeDatabaseConfig Class
BerkeleyDB Namespace