Vcl.OleServer.TOleServer.DisconnectEvents

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure DisconnectEvents(const Obj: Iunknown);

C++

void __fastcall DisconnectEvents(const System::_di_IInterface Obj);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.OleServer.pas
Vcl.OleServer.hpp
Vcl.OleServer TOleServer

説明

ConnectEvents メソッドを使って確立した接続を切断します。

DisconnectEvents の下位オブジェクトは DisconnectEvents メソッドを内部で使用して,ConnectEvents メソッドによって確立された接続を切断します。DisconnectEvents の下位オブジェクトがサーバーイベントをエクスポーズしない場合,DisconnectEvents メソッドは使用されません。

Obj パラメータは,イベントを生成する COM サーバーのインターフェースです。

関連項目