OracleConfigurationProvider Class

The OracleConfigurationProvider class contains enumerated values that specify the ODP.NET centralized configuration providers that the application is allowed to use.

Class Inheritance

System.Object

  Oracle.ManagedDataAccess.OracleConfigurationProvider

Declaration

// C#
public sealed class OracleConfigurationProvider : IComparable

Requirements

Provider ODP.NET, Managed Driver ODP.NET Core

Assembly

Oracle.ManagedDataAccess.dll

Oracle.ManagedDataAccess.dll

Namespace

Oracle.ManagedDataAccess.Client

Oracle.ManagedDataAccess.Client

.NET Framework

See System Requirements

-

.NET (Core)

-

See System Requirements

Remarks

OracleConfigurationProvider is technically a class but is functionally an enumeration that has a predefined list of possible values. You use the bitwise OR operator '|' to combine multiple enum values.

This class is only applicable to the OracleConfiguration.OracleConfigurationProviders property; It cannot be in sqlnet.ora nor .NET configuration files.

Member Name Description

None

Disables all configuration providers

Azure

Enables Azure App configuration provider

OCIObject

Enables Oracle Cloud Infrastructure (OCI) Configuration provider

File

Enable local file provider

AzureVault

Enables Azure Vault Configuration provider

OCIVault

Enables OCI Vault Configuration provider

All

Enables all configuration providers. This is the default value.

The property default value of All will remain constant in future ODP.NET versions. The configuration providers list supported by All may increase in the future.

Thread Safety

This class only has public static methods, so it is entirely thread safe.