Distributed Tuning Objects Guide (v11)

DtoMkdeClientHandle オブジェクト

MicroKernel クライアント ハンドルを表すオブジェクトです。

プロパティ

FileName
MicroKernel クライアント ハンドルに関連付けられているファイル名を返します。
LockType
MicroKernel クライアント ハンドルのロック状態の列挙を返します。可能な値のリストについては、ロック タイプを参照してください。
OpenMode
MicroKernel クライアント ハンドルのオープン モード列挙を返します。可能な値のリストについては、オープン モードを参照してください。
OpenModeName
OpenMode のテキスト バージョンを返します。
TransState
トランザクション状態を返します。
WaitState
MicroKernel クライアント ハンドルのウェイト状態の列挙を返します。可能な値のリストについては、ウェイト状態を参照してください。

メソッド

なし

備考

特定のクライアントのすべての MicroKernel クライアント ハンドルを取得するには、DtoMkdeClientHandles コレクションを使用します。

'セッションのインスタンスを作成して接続する 
Dim my_session as new DtoSession 
Dim result as DtoResult 
result = my_session.Connect("myserver", "username", "password") 
 
'セッションからモニター オブジェクトを取得する 
Dim my_monitor as DtoMonitor 
Set my_monitor = my_session.Monitor 
 
'モニターから Mkde クライアントを取得する 
Dim my_mkdeclients as DtoMkdeClients 
Set my_mkdeclients = my_monitor.MkdeClients 
 
'最初のクライアントを取得し、そのクライアント ハンドルを取得する 
Dim first_client as DtoMkdeClient 
Dim my_clienthandles as DtoMkdeClientHandles 
Set first_client = my_mkdeclients(1) 
Set my_clienthandles = first_client.MkdeClientHandles 
 
'コレクション内のメンバー数を調べる 
Dim num_clienthandles as long 
num_clienthandles = my_clienthandles.Count 
 
'最初のクライアント ハンドルを取得し、ファイル名を照会する 
Dim first_clienthandle as DtoMkdeClientHandle 
Dim fileName as string 
Set first_clienthandle = my_clienthandles(1) 
fileName = first_clienthandle.FileName 

関連項目

DtoMkdeClientHandles コレクション

DtoMkdeClient オブジェクト

DtoMonitor オブジェクト


DtoMkdeClientHandles コレクション

DtoCommStat オブジェクト