Windows ClientEditions Management Instrumentation (WMI) 類別方法,在 Configuration Manager 中擷取用戶端版本清單,以及是否DeviceOwner可以編輯屬性。
下列語法是從受控物件格式 (MOF) 程式代碼中簡化,並定義方法。
語法
SInt32 ClientEditions(
UInt32 ClientEdition[],
Boolean Editable[]
);
參數
ClientEdition 數據類型: UInt32 陣列
限定符:[out]
用戶端的版本。 可能的值為:
| 值 | 用戶端版本 |
|---|---|
| 0 | 電腦 |
| 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如果可以編輯屬性,則為 。
傳回值
數據 SInt32 類型,為 0 表示成功或非零表示失敗。
如需處理傳回錯誤的詳細資訊,請參閱關於 Configuration Manager 錯誤。
需求
運行時間需求
如需詳細資訊,請參閱 Configuration Manager 伺服器運行時間需求。
開發需求
如需詳細資訊,請參閱 Configuration Manager 伺服器開發需求。