類別SMS_Collection中的 ClientEditions 方法
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伺服器開發需求。