DirectoryName Property

OracleBFile.DirectoryName Property

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

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in

public string DirectoryName { get; 
/** @property */
public String get_DirectoryName ()

public function get DirectoryName () : String

Property Value

The name of the DIRECTORY object.

Exception typeCondition


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

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

© 2015 Microsoft