AllowRelativePathForDllPath
This property determines whether to allow relative directory paths for loading unmanaged ODP.NET dependencies.
Declaration
// C#
public static bool AllowRelativePathForDllPath { get; set; }
Property Type
System.Boolean
Exceptions
OracleException: "Relative file path cannot be used for DllPath. Please reconfigure DllPath and restart the application." to be thrown when loading unmanaged ODP.NET dependencies if DllPath is a relative directory path.
Remarks
Default value is false. When true, unmanaged ODP.NET dependencies can be loaded from a relative directory path. When false, relative paths are disallowed for retrieving dependencies from the DllPath setting.
Setting this property after DLLs are loaded is a no-op.