Export (0) Print
Expand All

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 System.Data.OracleClient.dll)

public string DirectoryName { get; }

Property Value

Type: System.String
The name of the DIRECTORY object.

ExceptionCondition
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:

  • 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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2015 Microsoft