Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OracleBFile.DirectoryName Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

[Visual Basic]
Public ReadOnly Property DirectoryName As String
public string DirectoryName {get;}
public: __property String* get_DirectoryName();
public function get DirectoryName() : String;

Property Value

The name of the DIRECTORY object.


Exception Type Condition
ObjectDisposedException 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:

  1. An Oracle DIRECTORY object, which is a database alias for a directory in the file system, and
  2. 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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleBFile Class | OracleBFile Members | System.Data.OracleClient Namespace

© 2015 Microsoft