DbServer.FileSpec Property (Typed) | |
The FileSpec object that defines the path and file name of the DBF file.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY FileSpec AS FileSpec GET
public virtual FileSpec FileSpec { get; }
Request Example
View SourceProperty Value
Type:
FileSpecThe FileSpec object that defines the path and file name of the DBF file.
Remarks
The FileSpec object that defines the path and file name of the DBF file. If the DBServer was originally instantiated with a FileSpec object, this is that original FileSpec object; if the server was originally instantiated with a file name in string format, a FileSpec object is created.
Note that the path of the file specification is exactly as originally entered. To store the full path of the file in the file specification, use the FileSpec:Find() method.
Examples
This example opens a data server using a FileSpec object, the retrieves information based on the server's FileSpec property:
1oFSSales := FileSpec{"c:\data\cust\sales.dbf"}
2oDBSales := DBServer{oFSSales}
3? oDBSales:FileSpec:Drive
4? oDBSales:FileSpec:Extension
See Also