CIM_USBDevice クラス (Hyper-V 管理)
USB デバイスの管理特性。
構文
[Abstract, Version("2.22.0"), UMLPackagePath("CIM::Device::USB")]
class CIM_USBDevice : CIM_LogicalDevice
{
uint16 USBVersion;
uint8 ClassCode;
uint8 SubclassCode;
uint8 ProtocolCode;
uint16 USBVersionInBCD;
uint8 MaxPacketSize;
uint16 VendorID;
uint16 ProductID;
uint16 DeviceReleaseNumber;
string Manufacturer;
string Product;
string SerialNumber;
uint8 NumberOfConfigs;
uint8 CurrentConfigValue;
uint8 CurrentAlternateSettings[];
datetime CommandTimeout;
};
メンバー
CIM_USBDevice クラスには、次の種類のメンバーがあります。
メソッド
CIM_USBDevice クラスには、これらのメソッドがあります。
メソッド | 説明 |
---|---|
GetDescriptor | USB デバイス記述子を取得します。 |
プロパティ
CIM_USBDevice クラスには、これらのプロパティがあります。
-
ClassCode
-
-
データ型: uint8
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bDeviceClass")
USB クラス コード。
-
-
CommandTimeOut
-
-
データ型: datetime
-
アクセスの種類: 読み取り専用
USB リダイレクトをサポートする管理アプリケーションで構成できるタイムアウト間隔。 リダイレクト サービスが USB デバイス コマンドをリモート デバイスにリダイレクトし、リモート デバイスがタイムアウト間隔の前に応答しない場合、リダイレクト サービスはメディア 取り出しイベントをエミュレートします。 さらに、サービスはコマンドを再試行するか、リモート デバイスへの接続を再確立しようとする場合があります。
-
-
CurrentAlternateSettings
-
-
データ型: uint8 配列
-
アクセスの種類: 読み取り専用
-
修飾子: ModelCorrespondence ("CIM_USBDevice。CurrentConfigValue")
デバイスの現在の構成の各インターフェイスの代替設定を含む配列。
-
-
CurrentConfigValue
-
-
データ型: uint8
-
アクセスの種類: 読み取り専用
-
修飾子: ModelCorrespondence ("CIM_USBDevice。CurrentAlternateSettings")
デバイスに対して現在選択されている構成。 この値が 0 の場合、デバイスは構成されません。
-
-
DeviceReleaseNumber
-
-
データ型: uint16
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bcdDevice")
BCD 形式のデバイス リリース番号。
-
-
Manufacturer
-
-
データ型: string
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|iManufacturer")
デバイスの製造元文字列。
-
-
MaxPacketSize
-
-
データ型: uint8
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bMaxPacketSize")
USB ゼロ エンドポイントの最大パケット サイズ。
-
-
NumberOfConfigs
-
-
データ型: uint8
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bNumConfigurations")
デバイスに対して定義されているデバイス構成の数。
-
-
製品
-
-
データ型: string
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|iProduct")
デバイスの製品文字列。
-
-
ProductID
-
-
データ型: uint16
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|idProduct")
製造元によってデバイスに割り当てられた製品 ID。
-
-
ProtocolCode
-
-
データ型: uint8
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bDeviceProtocol")
USB プロトコル コード。
-
-
SerialNumber
-
-
データ型: string
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|iSerialNumber")
デバイスのシリアル番号。
-
-
サブクラスコード
-
-
データ型: uint8
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bDeviceSubClass")
USB サブクラス コード。
-
-
USBVersion
-
-
データ型: uint16
-
アクセスの種類: 読み取り専用
USB デバイスでサポートされている最新の USB バージョン。 プロパティは、2 番目と 3 番目の数字の間の小数点を含むバイナリコーディングされた 10 進 (BCD) として表されます。 たとえば、0x201 の値は、バージョン 2.01 がサポートされていることを示します。
-
-
USBVersionInBCD
-
-
データ型: uint16
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|bcdUSB")
デバイスが準拠している USB 仕様番号。 このプロパティは BCD 形式で書式設定されます。
-
-
VendorID
-
-
データ型: uint16
-
アクセスの種類: 読み取り専用
-
修飾子: MappingStrings ("Universal Serial Bus Specification.USB-IF|Standard Device Descriptor|idVendor")
USB.org によってデバイスに割り当てられたベンダー ID。
-
要件
要件 | 値 |
---|---|
サポートされている最小のクライアント |
Windows 8.1 |
サポートされている最小のサーバー |
Windows Server 2012 R2 |
名前空間 |
Root\virtualization\v2 |
MOF |
|
[DLL] |
|