Language
Edit

DataObjectPool.SetMaximumPoolSize(Int32, Boolean) Method

Definition

Establish the maximum number of items to allow in the data object pool.

public void SetMaximumPoolSize(int maxSize, bool resizeNow);
abstract member SetMaximumPoolSize : int * bool -> unit
override this.SetMaximumPoolSize : int * bool -> unit
Public Sub SetMaximumPoolSize (maxSize As Integer, resizeNow As Boolean)

Parameters

maxSize
Int32

The new maximum size.

resizeNow
Boolean

Whether to resize all at once, or as items are added/removed.

Implements

Applies to