TCP/IP インストール済みコンストラクトには、MIB テーブルの行のオブジェクト ID (OID) とルックアップ値の一覧が含まれています。 If any of the lookup values exists in the row, this algorithm returns TRUE. プリンターの構成に関連するほとんどのクエリでは、プリンターの MIB に格納されている特定の値があるかどうかを判断し、ブール値の結果を返す必要があります。 インストールされたコンストラクトは Tcpbidi.xsd で定義されています。
| Attribute | Description |
|---|---|
| deviceIndex | (Optional) A flag that, when TRUE, means that the associated algorithm must include the device index in the specified OID; when FALSE, a trailing zero is appended to the OID. The default value is FALSE. For more information, see the note on the page for Value. |
| drvPrinterEvent | (省略可能)ポート モニターがドライバーに通知を送信するかどうかを示すブール値。 A TRUE value indicates that the port monitor sends notifications to the driver; FALSE indicates that the port monitor does not send notifications to the driver. |
| name | スキーマ値の名前。 |
| oid | OID としての MIB テーブルの行。 |
| refreshInterval | ポーリング間隔の値 (秒単位)。 既定値は 600 秒です。 |
Code Example
In the following code example, the lookup algorithm retrieves the MIB table row from 1.3.6.1.2.1.43.13.4.1.9.<deviceIndex>. If this table row contains either 3 or 4, the query returns TRUE; otherwise the query returns FALSE.
<Property name="DuplexUnit">
<Installed name="Installed" oid="1.3.6.1.2.1.43.13.4.1.9" deviceIndex="true">
<Lookup value="3"/>
<Lookup value="4"/>
</Installed>
</Property>
上記の例では、次のクエリが実行されます。
\Printer.Configuration.DuplexUnit:Installed