次の方法で共有


ISdoServiceControl インターフェイス (sdoias.h)

ISdoServiceControl インターフェイスを使用して、SDO コンピューターで管理されるサービスを制御します。

継承

ISdoServiceControl インターフェイスは、IDispatch インターフェイスから継承されます。 ISdoServiceControl には、次の種類のメンバーもあります。

メソッド

ISdoServiceControl インターフェイスには、これらのメソッドがあります。

 
ISdoServiceControl::GetServiceStatus

GetServiceStatus メソッドは、SDO を介して管理されているサービスの状態を取得します。
ISdoServiceControl::ResetService

ResetService メソッドは、SDO API によって管理されるサービスをリセットします。 サービスをリセットすると、サービスはデータを更新します。
ISdoServiceControl::StartService

StartService メソッドは、SDO を介して管理されるサービスを開始します。
ISdoServiceControl::StopService

StopService メソッドは、SDO を介して管理されるサービスをシャットダウンします。

注釈

ISdoServiceControl インターフェイスへのポインターを取得するには、 ISdoMachine::GetServiceSDO メソッド 使用します。

要件

要件
サポートされている最小のクライアント サポートなし
サポートされている最小のサーバー Windows Server 2008
対象プラットフォーム Windows
ヘッダー sdoias.h

こちらもご覧ください

IDispatch

サーバー データ オブジェクト インターフェイス

サーバー データ オブジェクトリファレンス