Distributed Tuning Objects Guide (v11)

DtoOpenFile オブジェクト

開いているファイルを表すオブジェクトです。

プロパティ

ActiveCursors
開いているファイルのアクティブ カーソル数を返します。
AFLIndex
開いているファイルの AFL Index を返します。
ContinuousOps
開いているファイルが Continuous オペレーションを使用しているかどうかを返します。
FileName
開いているファイルに関連付けられているファイル名を返します。
IsLocked
開いているファイルがロックされているかどうかを返します。
0 = ロックされていません
1 = ロックされています
IsReadOnly
開いているファイルが読み取り専用かどうかを返します。
0 = 読み取り専用ではありません
1 = 読み取り専用です
IsTrans
開いているファイルがトランザクション状態かどうかを返します。
0 = No
1 = Yes
Monitor
開いているファイルに関連付けられている DtoMonitor オブジェクトを返します。
OpenMode
開いているファイルのオープン モードを返します。
OpenModeName
OpenMode のテキスト バージョンを返します。
PageSize
開いているファイルのページ サイズを返します。
ReferentialIntegrity
開いているファイルに参照整合性が設定されているかどうかを返します。
0 = No
1 = Yes
TimeStamp
開いているファイルのタイム スタンプを返します。
TTSFlag
今後の使用に備えて予約されています。

メソッド

なし

コレクション

DtoFileHandles コレクション

備考

このオブジェクトは現在開いているファイルを表します。開いているすべてのファイルのコレクションの場合は、DtoOpenFiles コレクションを使用します。

Dim my_session as new DtoSession 
Dim is_read_only as Boolean 
Dim my_monitor as DtoMonitor 
Dim my_openfiles as DtoOpenFiles 
Dim first_file as DtoOpenFile 
Dim result as DtoResult 
 
result = my_session.Connect("myserver", "username", 
"password") 
Set my_monitor = my_session.Monitor 
Set my_openfiles = my_monitor.OpenFiles 
Set first_file = my_openfiles(1) 
is_read_only = first_file.IsReadOnly 

関連項目

DtoOpenFiles コレクション

DtoMonitor オブジェクト


DtoOpenFiles コレクション

DtoFileHandles コレクション