從作業中移除客戶端憑證。
語法
HRESULT RemoveClientCertificate();
返回值
下表列出了一些可能的回傳值。
| 回傳碼 | Description |
|---|---|
|
成功移除了憑證。 |
|
該職缺並未指定證書。 |
|
工作狀態無法BG_JOB_STATE_CANCELLED或BG_JOB_STATE_ACKNOWLEDGED。 |
備註
你可以使用 IBackgroundCopyJobHttpOptions::SetClientCertificateByID 或 IBackgroundCopyJobHttpOptions::SetClientCertificateByName 方法來指定憑證。
需求
| Requirement | 價值觀 |
|---|---|
| 最低支援的用戶端 | Windows Vista |
| 支援的最低伺服器 | Windows 伺服器 2008 |
| 目標平臺 | 窗戶 |
| Header | bits2_5.h(包含 Bits.h) |
| Library | Bits.lib |
另請參閱
IBackgroundCopyJobHttpOptions::GetClientCertificate