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
[C#]
public string DirectoryName {get;}
[C++]
public: __property String* get_DirectoryName();
[JScript]
public function get DirectoryName() : String;

Property Value

The name of the DIRECTORY object.

Exceptions

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

  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.

Requirements

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

Show:
© 2015 Microsoft