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 _
) 
 

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.

See Also