共用方式為


類別SMS_CM_UpdatePackages中的 RetryContentReplication 方法

RetryContentReplication Configuration Manager 中的 Windows Management Instrumentation (WMI) 類別方法會觸發 DistMgr 將內容從來源複製到內容庫。

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

語法

SInt32 RetryContentReplication(
     UInt32 ForceRetry
);

參數

ForceRetry 資料類型: UInt32

限定符:[in, optional]

用來強制重試的旗標。 1 表示強制重試;否則為 0 或 null

傳回值

數據 SInt32 類型,為 0 表示成功或非零表示失敗。

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

需求

運行時間需求

如需詳細資訊,請參閱 Configuration Manager 伺服器運行時間需求。

開發需求

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

另請參閱

SMS_CM_UpdatePackages伺服器 WMI 類別