InitRepSitesCount Property

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
DatabaseEnvironmentConfig..::.InitRepSitesCount Property
DatabaseEnvironmentConfig Class See Also Send Feedback

The initial maximum number of sites in the replication group catered for by the Berkeley DB environment.

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

# Syntax

C#
    public uint InitRepSitesCount { get; set; }

Visual Basic (Declaration)
    Public Property InitRepSitesCount As UInteger

Visual C++
    public:
    property unsigned int InitRepSitesCount {
    	unsigned int get ();
    	void set (unsigned int value);
    }

# Remarks

The value is used by Open(String, DatabaseEnvironmentConfig) to to allocate the initial maximum number of sites when the environment is created. This can be useful to calculate the initial amount of space needed for the replication objects in the main environment region.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace