类SMS_MDMCorpOwnedDevices中的 UpdateProfileIDForDevices 方法

UpdateProfileIdForDevices Configuration Manager 中,Windows Management Instrumentation (WMI) 类方法更新设备序列号的配置文件 ID。

语法

sint32 UpdateProfileIdForDevices(  
     String RequestEnrollmentProfileId,  
     String DeviceSerialNumbers  
);  

参数

RequestEnrollmentProfileId
数据类型String

限定符:[in]

注册配置文件 ID。

DeviceSerialNumbers
数据类型String Array

限定符:[in]

设备的序列号。

返回值

一个 SInt32 数据类型,为 0 表示成功,非零表示失败。

有关处理返回的错误的详细信息,请参阅关于Configuration Manager错误

要求

运行时要求

有关详细信息,请参阅Configuration Manager服务器运行时要求

开发要求

有关详细信息,请参阅Configuration Manager服务器开发要求

另请参阅

SMS_MDMCorpOwnedDevices服务器 WMI 类