dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleBFile Class / SetFileName Method
The name of the directory that contains a physical file.
The name of the file in the operating system.

In This Topic
    SetFileName Method
    In This Topic
    Binds the OracleBFile object to a different file in the operating system.
    Syntax
    'Declaration
     
    Public Sub SetFileName( _
       ByVal directory As String, _
       ByVal fileName As String _
    ) 
    public void SetFileName( 
       string directory,
       string fileName
    )

    Parameters

    directory
    The name of the directory that contains a physical file.
    fileName
    The name of the file in the operating system.
    Remarks
    To change name of the file or directory specified OracleBFile object must be within a transaction and must not be opened by OpenFile method.

    If you change the name of the file or directory the current position resets to zero.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also