次の方法で共有


クラス SMS_Collectionの ClientEditions メソッド

ClientEditions Windows Management Instrumentation (WMI) クラス メソッドは、Configuration Managerで、クライアント エディションの一覧と、DeviceOwner プロパティを編集できるかどうかを取得します。

次の構文は、マネージド オブジェクト形式 (MOF) コードから簡略化され、 メソッドを定義します。

構文

SInt32 ClientEditions(
     UInt32 ClientEdition[],
     Boolean Editable[]
);

パラメーター

ClientEditionデータ型: 配列UInt32

修飾子: [out]

クライアントのエディション。 使用可能な値は次のとおりです。

クライアント エディション
0 Desktop
1 Windows RT
2 Windows Mobile 6
3 Nokia Symbian
4 Windows Phone
5 Mac
6 Windows CE
7 Windows Embedded
8 iOS
9 iPad
10 iPodTouch
11 Andriod
12 iSocConsumer
13 Unix/Linux

Editableデータ型: 配列Boolean

修飾子: [out]

true DeviceOwner プロパティを編集できる場合。

戻り値

成功を示す 0、失敗を示す 0 以外のデータ型 SInt32

返されたエラーの処理の詳細については、「Configuration Manager エラーについて」を参照してください。

要件

ランタイム要件

詳細については、「Configuration Manager サーバーランタイム要件」を参照してください。

開発要件

詳細については、「Configuration Manager サーバー開発要件」を参照してください。

関連項目

SMS_Collection サーバー WMI クラスSMS_Site サーバー WMI クラス