OracleBFile.DirectoryName Property

Definition

Gets the name of the DIRECTORY object, with which an OracleBFile object is associated.

C#
public string DirectoryName { get; }

Property Value

The name of the DIRECTORY object.

Exceptions

Attempted to call DirectoryName on a closed or disposed OracleBFile object.

Remarks

Each non-NULL OracleBFile object is associated with two entities that define the location of underlying physical file:

  • An Oracle DIRECTORY object, which is a database alias for a directory in the file system, and

  • The file name of the underlying physical file, which is located in the directory associated with the DIRECTORY object.

The DirectoryName property returns the name of the DIRECTORY object from the Oracle database.

For more information about creating and using an Oracle BFILE, see the appropriate topic in your Oracle documentation.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1