類別 SMS_Site 中的 UpdateClientPilotingConfigs 方法

UpdateClientPilotingConfigs在 Configuration Manager 中,Windows Management Instrumentation (WMI) 類別方法會更新用戶端試驗設定的組態。

下列語法是從 [受控物件格式] 簡化而 (MOF) 程式碼,並定義方法。

語法

SInt32 UpdateClientPilotingConfigs (
    Boolean IsEnabled,
    Boolean IsAccepted,
    String TargetCollectionID
);

參數

IsEnabled 資料類型: Boolean

限定詞:[in]

指出是否已啟用用戶端試驗測試模式。

IsAccepted 資料類型: Boolean

限定詞:[in]

指出是否接受新的用戶端二進位檔。 如果 IsEnabled 是 true,則會忽略此參數,且一律 false為 。

TargetCollectionID 資料類型: String

限定詞:[in]

目標集合識別碼。

傳回值

SInt32資料類型為 0 表示成功,非零表示失敗。

如需處理傳回錯誤的詳細資訊,請參閱 關於 Configuration Manager 錯誤。

需求

執行階段需求

如需詳細資訊,請參閱 Configuration Manager 伺服器執行階段需求。

開發需求

如需詳細資訊,請參閱 Configuration Manager 伺服器開發需求。

另請參閱

SMS_Site Server WMI 類別