DRCPConnectionClass

This property specifies a logical name that identifies the DRCP connection pool that the ODP.NET connection will use.

Declaration

// C#
public string DRCPConnectionClass {get; set;}

Property Value

The string to be used that uniquely identifies the DRCP server side connection pool for the ODP.NET application to use.

Exceptions

  • InvalidOperationException() - if CPVersion=1.0 and the DRCPConnectionClass is set to a non-null / non-empty string. Applies to unmanaged ODP.NET only.

  • InvalidOperationException() -  if the DRCPConnectionClass is set to a non-null / non-empty string after opening a connection.

  • InvalidOperationException() -  if DRCP is not enabled and the DRCPConnectionClass is set to a non-null / non-empty string.

Remarks

A different client-side connection pool will be created for each unique DRCPConnectionClass property value. Each of these pools will use the same DRCP.

The default value is null. The character limit is 1024 minus the number of characters in the user id.

If this property is used, it must be set prior to opening the connection.