Skip to main content
A newer version of this page is available. .

XpoDefault.GetConnectionPoolString(String, Int32) Method

Gets a connection pool’s connection string based on a specified standard connection string and pool capacity.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public static string GetConnectionPoolString(
    string connectionString,
    int poolSize
)

Parameters

Name Type Description
connectionString String

A String value which specifies the parameters required to establish a connection.

poolSize Int32

A connection pool’s capacity (the number of connections to be made available within the pool).

Returns

Type Description
String

A String value which specifies the parameters needed to establish a connection pool’s connection.

Remarks

This function calls the other GetConnectionPoolString overloaded function with null (Nothing in Visual Basic) passed as the maxConnections parameter.

See Also